Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 115.6 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 191.9 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.03 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3281, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003153/0.3313, allocations: 1.86 MB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3332, allocations: 1.271 MB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.3335, allocations: 4 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3338, allocations: 75.2 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3341, allocations: 55.47 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.3346, allocations: 163.7 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.3352, allocations: 489 kB / 1.031 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.3357, allocations: 279.4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.3359, allocations: 175.3 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.3362, allocations: 194.9 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.97e-05/0.3363, allocations: 56 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.997e-05/0.3363, allocations: 52 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3365, allocations: 111.7 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.3367, allocations: 218.7 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.3372, allocations: 0.576 MB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3373, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3373, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.3373, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001336/0.3386, allocations: 0.7369 MB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3387, allocations: 12.03 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3388, allocations: 52.36 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.3393, allocations: 348.2 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.3394, allocations: 37.38 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.3394, allocations: 36.38 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.3401, allocations: 415.5 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3401, allocations: 192 / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3401, allocations: 19.94 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3402, allocations: 8 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.3407, allocations: 283.8 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.3429, allocations: 1.354 MB / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.3436, allocations: 250.9 kB / 1.036 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.3438, allocations: 124.6 kB / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3438, allocations: 7.984 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3439, allocations: 34.56 kB / 1.036 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.3439, allocations: 7.938 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0006427/0.3445, allocations: 298.8 kB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.3446, allocations: 102.8 kB / 1.036 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.345, allocations: 409.5 kB / 1.037 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3451, allocations: 29.7 kB / 1.037 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3453, allocations: 259.7 kB / 1.037 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3453, allocations: 63.02 kB / 1.037 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3454, allocations: 69.92 kB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3456, allocations: 346.8 kB / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3458, allocations: 114.1 kB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.3461, allocations: 212.3 kB / 1.038 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.3466, allocations: 269.4 kB / 1.038 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.3467, allocations: 4 kB / 1.038 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007163/0.3474, allocations: 371.3 kB / 1.038 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3474, allocations: 4 kB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3474, allocations: 4 kB / 1.038 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3474, allocations: 16.09 kB / 1.038 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.3477, allocations: 67.89 kB / 1.038 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3477, allocations: 4 kB / 1.038 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.348, allocations: 55.52 kB / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.348, allocations: 15.98 kB / 1.038 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002607/0.3483, allocations: 200.8 kB / 1.039 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002161/0.3485, allocations: 179.4 kB / 1.039 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000312/0.3488, allocations: 235.5 kB / 1.039 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.065e-06/0.3488, allocations: 4 kB / 1.039 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005364/0.3494, allocations: 323.2 kB / 1.039 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3494, allocations: 8 kB / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.3494, allocations: 0 / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.3494, allocations: 4 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3497, allocations: 63.8 kB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3497, allocations: 7.984 kB / 1.039 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3499, allocations: 43.72 kB / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3499, allocations: 16 kB / 1.039 GB, free: 4.633 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.3501, allocations: 205.5 kB / 1.04 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.3501, allocations: 31.62 kB / 1.04 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.3507, allocations: 244.9 kB / 1.04 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3507, allocations: 4 kB / 1.04 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3507, allocations: 0 / 1.04 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3507, allocations: 0 / 1.04 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.3519, allocations: 0.791 MB / 1.041 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.352, allocations: 0 / 1.041 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.3522, allocations: 48.06 kB / 1.041 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.3522, allocations: 4 kB / 1.041 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3522, allocations: 4 kB / 1.041 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.3522, allocations: 4 kB / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3522, allocations: 0 / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.3529, allocations: 465 kB / 1.041 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.353, allocations: 116.7 kB / 1.041 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3531, allocations: 8 kB / 1.041 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3533, allocations: 23.97 kB / 1.041 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3533, allocations: 15.92 kB / 1.041 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3533, allocations: 8 kB / 1.041 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003128/0.3537, allocations: 287.2 kB / 1.042 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3537, allocations: 0 / 1.042 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000509/0.3542, allocations: 131.4 kB / 1.042 GB, free: 2.145 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.3544, allocations: 111.2 kB / 1.042 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008429/0.3552, allocations: 395.4 kB / 1.042 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3552, allocations: 0.875 kB / 1.042 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3555, allocations: 100.2 kB / 1.042 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.356, allocations: 68.56 kB / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3574, allocations: 0.6698 MB / 1.043 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.3579, allocations: 0.7996 MB / 1.044 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000173/0.3581, allocations: 43.44 kB / 1.044 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.3582, allocations: 27.44 kB / 1.044 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.3582, allocations: 0 / 1.044 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of Templates: time 0.007722/0.3659, allocations: 3.474 MB / 1.047 GB, free: 12.43 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches