Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001522/0.001522, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9865/0.988, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003049/0.9911, allocations: 2.092 MB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.9934, allocations: 1.597 MB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.9937, allocations: 12.16 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.994, allocations: 84.83 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.9942, allocations: 90.22 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.995, allocations: 327.5 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.9957, allocations: 0.6908 MB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.9961, allocations: 323.1 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.9964, allocations: 261.2 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.9967, allocations: 283.6 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.9969, allocations: 76.5 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.9971, allocations: 86.7 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.9972, allocations: 151.9 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.9974, allocations: 293.6 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.9984, allocations: 0.8264 MB / 1.096 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.9984, allocations: 4 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9984, allocations: 0.7812 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.9984, allocations: 0 / 1.096 GB, free: 0.9922 MB / 0.8575 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.00166/1, allocations: 0.9004 MB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1, allocations: 9.438 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/1, allocations: 66.44 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/1.001, allocations: 411.1 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/1.001, allocations: 44.61 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.001, allocations: 63.28 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.002, allocations: 499.7 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.002, allocations: 0.7188 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/1.002, allocations: 26.64 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/1.002, allocations: 12.34 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/1.003, allocations: 343.9 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/1.006, allocations: 1.548 MB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.007, allocations: 0.8799 MB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/1.007, allocations: 232.7 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/1.007, allocations: 5.641 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/1.008, allocations: 248.8 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.285e-06/1.008, allocations: 0 / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47): time 0.001148/1.009, allocations: 0.5277 MB / 1.101 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/1.009, allocations: 107.8 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/1.01, allocations: 391.5 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/1.01, allocations: 39.28 kB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/1.01, allocations: 250.3 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/1.01, allocations: 161.8 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/1.01, allocations: 96.56 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.01, allocations: 356 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/1.011, allocations: 189 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/1.011, allocations: 280.2 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/1.012, allocations: 435.6 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.012, allocations: 0.5938 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001444/1.014, allocations: 0.5665 MB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/1.014, allocations: 47.92 kB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.014, allocations: 1.438 kB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.014, allocations: 4.594 kB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/1.014, allocations: 94.47 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/1.014, allocations: 8.922 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/1.015, allocations: 85.78 kB / 1.104 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/1.015, allocations: 25.78 kB / 1.104 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004681/1.015, allocations: 283.4 kB / 1.105 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000388/1.016, allocations: 262.9 kB / 1.105 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005837/1.016, allocations: 386.3 kB / 1.105 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.016, allocations: 2.25 kB / 1.105 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009327/1.017, allocations: 0.5211 MB / 1.106 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/1.017, allocations: 42.92 kB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.017, allocations: 1.594 kB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.017, allocations: 7.781 kB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/1.018, allocations: 84.95 kB / 1.106 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.018, allocations: 4.156 kB / 1.106 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/1.018, allocations: 73.95 kB / 1.106 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/1.018, allocations: 20.53 kB / 1.106 GB, free: 10.6 MB / 0.8731 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.0001986/1.018, allocations: 215.1 kB / 1.106 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/1.018, allocations: 48.44 kB / 1.106 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008611/1.019, allocations: 431.5 kB / 1.107 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.019, allocations: 2.766 kB / 1.107 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.019, allocations: 1.125 kB / 1.107 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/1.019, allocations: 128.6 kB / 1.107 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/1.019, allocations: 11.95 kB / 1.107 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.02, allocations: 23.44 kB / 1.107 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/1.02, allocations: 23.31 kB / 1.107 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001107/1.021, allocations: 0.5074 MB / 1.107 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001265/1.022, allocations: 0.7874 MB / 1.108 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003529/1.022, allocations: 188 kB / 1.108 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003561/1.023, allocations: 270.2 kB / 1.108 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of Backend: time 5.71e-07/1.023, allocations: 0 / 1.108 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001789/1.025, allocations: 0.7436 MB / 1.109 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002092/1.027, allocations: 1.278 MB / 1.11 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.01994/1.047, allocations: 7.571 MB / 1.118 GB, free: 7.227 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches