Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001518/0.001518, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.406/1.406, 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 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9647, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003679/0.9684, allocations: 2.213 MB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.9697, allocations: 0.5252 MB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.9699, allocations: 4.438 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.9701, allocations: 42.33 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.9703, allocations: 45.23 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.9707, allocations: 141.2 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.9711, allocations: 369.2 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.9714, allocations: 175.3 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.9716, allocations: 133.5 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.9718, allocations: 136.9 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/0.9719, allocations: 40.84 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.972, allocations: 40.72 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.9721, allocations: 83.67 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.9722, allocations: 152 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.9728, allocations: 477.1 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9728, allocations: 1.344 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9728, allocations: 0 / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.9728, allocations: 0.6875 kB / 1.093 GB, free: 2.586 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001047/0.9739, allocations: 0.6018 MB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.974, allocations: 16.22 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.974, allocations: 34.39 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.9746, allocations: 321.9 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.9746, allocations: 19.09 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.9747, allocations: 24.66 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.9753, allocations: 291.5 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9753, allocations: 3.938 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.9753, allocations: 10.66 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.9754, allocations: 6.312 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.9759, allocations: 204.2 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.9774, allocations: 0.9817 MB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.978, allocations: 277.5 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.9782, allocations: 101.5 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.9783, allocations: 2.812 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.9783, allocations: 32.41 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.585e-06/0.9783, allocations: 0 / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0008053/0.9791, allocations: 267.4 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.9792, allocations: 53.22 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.9795, allocations: 268.2 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.9795, allocations: 31.47 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.9796, allocations: 179.2 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.9797, allocations: 55.28 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.9798, allocations: 48.52 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.98, allocations: 336 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.9802, allocations: 78.59 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.9806, allocations: 121.8 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.9811, allocations: 187.5 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9811, allocations: 3.938 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006418/0.9817, allocations: 246.8 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9818, allocations: 5.656 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9818, allocations: 2.453 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.9818, allocations: 10.03 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.9821, allocations: 53.59 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.9821, allocations: 2.328 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.9823, allocations: 21.34 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.9823, allocations: 10.2 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003028/0.9826, allocations: 179.3 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002315/0.9829, allocations: 115 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003999/0.9833, allocations: 182.8 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.439e-06/0.9833, allocations: 1.062 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005483/0.9839, allocations: 240.8 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9839, allocations: 7.031 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.9839, allocations: 0.6562 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.9839, allocations: 2.938 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.9841, allocations: 46.97 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9841, allocations: 2.188 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.9843, allocations: 23.23 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.9843, allocations: 6.781 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001629/0.9845, allocations: 200.9 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.9845, allocations: 22.67 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.9852, allocations: 220.8 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.9852, allocations: 5.734 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9852, allocations: 0 / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.9853, allocations: 105.6 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.9853, allocations: 2.031 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.9855, allocations: 15.39 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.9856, allocations: 22.53 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006886/0.9863, allocations: 285.2 kB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008836/0.9872, allocations: 470.1 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002493/0.9875, allocations: 84.95 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002652/0.9877, allocations: 199.8 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of Backend: time 5.51e-07/0.9877, allocations: 0 / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009831/0.9887, allocations: 292.2 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001443/0.9902, allocations: 0.901 MB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.01157/1.002, allocations: 3.275 MB / 1.104 GB, free: 12.66 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches