Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.00114, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0014/0.0014, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.679/2.679, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 9.906 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.274, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1634/0.4375, allocations: 165.3 MB / 1.219 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005586/0.4431, allocations: 4.187 MB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/0.4437, allocations: 15.88 kB / 1.224 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.4444, allocations: 178.6 kB / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.446, allocations: 0.583 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.4489, allocations: 1.055 MB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.4505, allocations: 1.441 MB / 1.227 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.4512, allocations: 337.9 kB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.4524, allocations: 0.5175 MB / 1.228 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006503/0.453, allocations: 386.4 kB / 1.228 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4531, allocations: 28 kB / 1.228 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.455, allocations: 0.791 MB / 1.229 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.4552, allocations: 163.5 kB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.4554, allocations: 125.5 kB / 1.229 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4565, allocations: 0.7716 MB / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4565, allocations: 0 / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4565, allocations: 0 / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.4565, allocations: 0 / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001693/0.4582, allocations: 0.9242 MB / 1.231 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4583, allocations: 8.031 kB / 1.231 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.4603, allocations: 290.9 kB / 1.231 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007449/0.4611, allocations: 433.8 kB / 1.231 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.4611, allocations: 33 kB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.002e-05/0.4612, allocations: 40 kB / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.4623, allocations: 0.5702 MB / 1.232 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4623, allocations: 4 kB / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.4624, allocations: 23.92 kB / 1.232 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4624, allocations: 12 kB / 1.232 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.4634, allocations: 487.5 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.466, allocations: 2.127 MB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.4669, allocations: 438.4 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.4674, allocations: 233.3 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.4681, allocations: 416.3 kB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006106/0.4687, allocations: 318.6 kB / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.4687, allocations: 0 / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001765/0.4705, allocations: 0.7321 MB / 1.237 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4706, allocations: 59.41 kB / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.4711, allocations: 490 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.4712, allocations: 37.7 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.4714, allocations: 260.1 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4715, allocations: 122.3 kB / 1.238 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.4715, allocations: 8 kB / 1.238 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4717, allocations: 362.8 kB / 1.238 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.4722, allocations: 212.8 kB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.4727, allocations: 332 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.4733, allocations: 291.2 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4733, allocations: 0 / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001294/0.4746, allocations: 0.6793 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.4747, allocations: 71.34 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4747, allocations: 0 / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4747, allocations: 8 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.4752, allocations: 104.1 kB / 1.24 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.4752, allocations: 11.94 kB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.4758, allocations: 95.31 kB / 1.24 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.4758, allocations: 20 kB / 1.24 GB, free: 10.31 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.4761, allocations: 194.8 kB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.4761, allocations: 51.34 kB / 1.24 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.4774, allocations: 0.5741 MB / 1.24 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4774, allocations: 4 kB / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4774, allocations: 0 / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4774, allocations: 7.984 kB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.4797, allocations: 1.372 MB / 1.242 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4797, allocations: 4 kB / 1.242 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.4802, allocations: 92.31 kB / 1.242 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.4802, allocations: 4 kB / 1.242 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.4802, allocations: 12 kB / 1.242 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.4802, allocations: 11.88 kB / 1.242 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4802, allocations: 4 kB / 1.242 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.4819, allocations: 0.9888 MB / 1.243 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.4821, allocations: 168.3 kB / 1.243 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.4822, allocations: 11.98 kB / 1.243 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.4827, allocations: 52.02 kB / 1.243 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.4829, allocations: 55.83 kB / 1.243 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.4829, allocations: 12 kB / 1.243 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000398/0.4833, allocations: 350.8 kB / 1.244 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4833, allocations: 0 / 1.244 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000585/0.4839, allocations: 147.8 kB / 1.244 GB, free: 6.02 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004197/0.4843, allocations: 210.6 kB / 1.244 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.4855, allocations: 0.6081 MB / 1.244 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4856, allocations: 0 / 1.244 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.4862, allocations: 304.7 kB / 1.245 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.4877, allocations: 282.1 kB / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.4895, allocations: 1.219 MB / 1.246 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.4899, allocations: 0.8707 MB / 1.247 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005467/0.4905, allocations: 128.7 kB / 1.247 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.4907, allocations: 43.44 kB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4907, allocations: 0 / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.481/0.9717, allocations: 9.824 MB / 1.257 GB, free: 190.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches