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.008845/0.008845, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001641/0.001641, allocations: 195.3 kB / 16.68 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.19 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.283/2.283, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9538/0.955, allocations: 140.4 MB / 1.088 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003052/0.9581, allocations: 2.216 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.959, allocations: 0.5166 MB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.9591, allocations: 8.594 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.9593, allocations: 46.94 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.9594, allocations: 49.31 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.9597, allocations: 141.8 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.9602, allocations: 368.8 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.9605, allocations: 170.5 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.9607, allocations: 134.4 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.9608, allocations: 136.4 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.9609, allocations: 44.62 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.9609, allocations: 41.69 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.961, allocations: 78.25 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.9611, allocations: 156.9 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.9617, allocations: 469.7 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9617, allocations: 1.766 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9617, allocations: 3.938 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.9618, allocations: 0 / 1.092 GB, free: 2.824 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.0009492/0.9627, allocations: 0.62 MB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.9628, allocations: 8.5 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.9628, allocations: 33.38 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.9633, allocations: 320 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.9633, allocations: 22.62 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.9634, allocations: 32.34 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.9639, allocations: 287.5 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.964, allocations: 3.938 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.964, allocations: 10.56 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.964, allocations: 5.969 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.9646, allocations: 212.4 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.9659, allocations: 0.9744 MB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.9664, allocations: 273.2 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.9667, allocations: 106.2 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.9667, allocations: 2.234 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.9667, allocations: 40.69 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.9667, allocations: 0 / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0007382/0.9675, allocations: 254.4 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.9675, allocations: 53.31 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.9679, allocations: 284.4 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.9679, allocations: 27.94 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.968, allocations: 175.7 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.968, allocations: 62.44 kB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.9681, allocations: 45.58 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9683, allocations: 331.6 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.9685, allocations: 82.62 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.9688, allocations: 117.5 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.9692, allocations: 197.1 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9693, allocations: 0.6562 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000603/0.9699, allocations: 254.4 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9699, allocations: 5.5 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9699, allocations: 1 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9699, allocations: 1.719 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.9702, allocations: 45.94 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.9702, allocations: 2.406 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.9704, allocations: 25.8 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.9704, allocations: 6.203 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002923/0.9707, allocations: 187 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002349/0.9709, allocations: 116.2 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004008/0.9714, allocations: 187.5 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.9714, allocations: 0 / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005287/0.9719, allocations: 248.4 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.9719, allocations: 6.156 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.9719, allocations: 1.031 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.227e-06/0.9719, allocations: 3 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.9721, allocations: 46.95 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9722, allocations: 6.688 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.9723, allocations: 14.47 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.9723, allocations: 10.5 kB / 1.098 GB, free: 15.08 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.0001481/0.9725, allocations: 205.3 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.9725, allocations: 26.77 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.9731, allocations: 212.4 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9731, allocations: 2.5 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.9731, allocations: 0 / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9732, allocations: 1.312 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.9742, allocations: 0.6289 MB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9742, allocations: 1.75 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.9744, allocations: 34 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.9744, allocations: 1.156 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.9744, allocations: 2.5 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.9744, allocations: 1.062 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9744, allocations: 7.938 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.9752, allocations: 397.8 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.9753, allocations: 106.1 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.9753, allocations: 1.672 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.9755, allocations: 24.61 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.9756, allocations: 9.062 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.9756, allocations: 12.89 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002055/0.9758, allocations: 195.3 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9758, allocations: 0 / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004424/0.9763, allocations: 86.73 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.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 (17): * Single equations (assignments): 17 * 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.0001259/0.9764, allocations: 102.5 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007682/0.9772, allocations: 280.8 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9772, allocations: 3.938 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.9774, allocations: 86.39 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.9779, allocations: 40.42 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.9788, allocations: 473.3 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.9791, allocations: 0.757 MB / 1.101 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.9793, allocations: 33.61 kB / 1.101 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.9794, allocations: 22.38 kB / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.9794, allocations: 0 / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.006853/0.9862, allocations: 2.332 MB / 1.104 GB, free: 12.36 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/jenkins/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