Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 109 kB / 16.41 MB, free: 6.512 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.001699/0.001699, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.428/1.428, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9698, allocations: 151.6 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004094/0.974, allocations: 2.098 MB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.9767, allocations: 1.603 MB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.9772, allocations: 11.94 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.9776, allocations: 83.06 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.978, allocations: 91.19 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.9791, allocations: 327.4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009316/0.98, allocations: 0.6998 MB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.9806, allocations: 317.3 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.981, allocations: 259 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.9814, allocations: 286.6 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.9816, allocations: 76 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.9817, allocations: 91.92 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.9819, allocations: 147.5 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.9822, allocations: 298.4 kB / 1.174 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009269/0.9832, allocations: 0.827 MB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9832, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9832, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.948e-05/0.9832, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00196/0.9852, allocations: 0.8993 MB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.9853, allocations: 12.02 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.9854, allocations: 76.03 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.986, allocations: 408.6 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.9861, allocations: 41.38 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.9862, allocations: 60.38 kB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.9872, allocations: 495.5 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.9872, allocations: 192 / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.9873, allocations: 23.94 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.9873, allocations: 12 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.9881, allocations: 355.8 kB / 1.177 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.9907, allocations: 1.546 MB / 1.178 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.9918, allocations: 0.8797 MB / 1.179 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.9922, allocations: 228.7 kB / 1.179 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.9922, allocations: 12 kB / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004824/0.9927, allocations: 244.8 kB / 1.179 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.9927, allocations: 0 / 1.179 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47): time 0.001103/0.9939, allocations: 0.5297 MB / 1.18 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.9939, allocations: 111.2 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.9944, allocations: 389.5 kB / 1.18 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.9945, allocations: 37.7 kB / 1.181 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.9947, allocations: 253 kB / 1.181 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9949, allocations: 153.8 kB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.9951, allocations: 102.1 kB / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.9953, allocations: 362.7 kB / 1.181 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.9957, allocations: 187 kB / 1.182 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.9962, allocations: 284.2 kB / 1.182 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.997, allocations: 427.4 kB / 1.182 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.997, allocations: 0 / 1.182 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00114/0.9982, allocations: 0.5752 MB / 1.183 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.9983, allocations: 41.64 kB / 1.183 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9983, allocations: 0 / 1.183 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.9983, allocations: 4 kB / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.9987, allocations: 99.81 kB / 1.183 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.9987, allocations: 4 kB / 1.183 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.9992, allocations: 87.59 kB / 1.183 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.9992, allocations: 20 kB / 1.183 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000466/0.9997, allocations: 281.2 kB / 1.183 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003942/1, allocations: 260.3 kB / 1.184 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006057/1.001, allocations: 392.1 kB / 1.184 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.335e-06/1.001, allocations: 4 kB / 1.184 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009253/1.002, allocations: 0.5166 MB / 1.184 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/1.002, allocations: 41.69 kB / 1.184 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/1.002, allocations: 0 / 1.184 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/1.002, allocations: 7.938 kB / 1.184 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/1.002, allocations: 88.12 kB / 1.185 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.002, allocations: 7.938 kB / 1.185 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/1.002, allocations: 71.62 kB / 1.185 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/1.003, allocations: 20 kB / 1.185 GB, free: 1.703 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0002239/1.003, allocations: 204.2 kB / 1.185 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/1.003, allocations: 55.36 kB / 1.185 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/1.004, allocations: 429.4 kB / 1.185 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.004, allocations: 3.984 kB / 1.185 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.004, allocations: 0 / 1.185 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/1.004, allocations: 136.3 kB / 1.185 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/1.004, allocations: 8 kB / 1.185 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/1.004, allocations: 23.98 kB / 1.185 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/1.004, allocations: 32.33 kB / 1.185 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001147/1.005, allocations: 0.5076 MB / 1.186 GB, free: 280 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001241/1.007, allocations: 0.7862 MB / 1.187 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003235/1.007, allocations: 187.6 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003179/1.007, allocations: 271.2 kB / 1.187 GB, free: 15.03 MB / 0.92 GB Notification: Performance of Backend: time 3.8e-07/1.007, allocations: 4 kB / 1.187 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001651/1.009, allocations: 0.737 MB / 1.188 GB, free: 14.25 MB / 0.92 GB Notification: Performance of SimCode: time 0.001954/1.011, allocations: 1.285 MB / 1.189 GB, free: 12.92 MB / 0.92 GB Notification: Performance of Templates: time 0.01663/1.028, allocations: 7.576 MB / 1.197 GB, free: 5.406 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches