Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001368/0.001368, allocations: 111.8 kB / 16.42 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.001566/0.001567, allocations: 189.5 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.14 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.202/2.202, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7101, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1983/0.9085, allocations: 181.8 MB / 1.266 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006038/0.9145, allocations: 4.444 MB / 1.271 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.9152, allocations: 27.81 kB / 1.271 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007494/0.916, allocations: 246.1 kB / 1.271 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.9181, allocations: 0.7815 MB / 1.272 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.9217, allocations: 1.563 MB / 1.273 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.9234, allocations: 1.259 MB / 1.274 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007539/0.9241, allocations: 451.2 kB / 1.275 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.9253, allocations: 0.5838 MB / 1.275 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/0.926, allocations: 410.3 kB / 1.276 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.9261, allocations: 52 kB / 1.276 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.9288, allocations: 1.555 MB / 1.277 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.9291, allocations: 187.4 kB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.9295, allocations: 298.5 kB / 1.278 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.9317, allocations: 1.309 MB / 1.279 GB, free: 10.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.9317, allocations: 0 / 1.279 GB, free: 10.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9317, allocations: 0 / 1.279 GB, free: 10.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.9317, allocations: 0 / 1.279 GB, free: 10.7 MB / 1.014 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.001896/0.9336, allocations: 1.021 MB / 1.28 GB, free: 9.613 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.9336, allocations: 8.031 kB / 1.28 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.9357, allocations: 290.9 kB / 1.28 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.9366, allocations: 465.4 kB / 1.281 GB, free: 8.824 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.9366, allocations: 33 kB / 1.281 GB, free: 8.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.9367, allocations: 47.98 kB / 1.281 GB, free: 8.746 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.9377, allocations: 0.5507 MB / 1.281 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9378, allocations: 4 kB / 1.281 GB, free: 8.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.9378, allocations: 16 kB / 1.281 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.9378, allocations: 11.94 kB / 1.281 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.9389, allocations: 455.5 kB / 1.282 GB, free: 7.684 MB / 1.014 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.002566/0.9415, allocations: 2.119 MB / 1.284 GB, free: 5.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.9424, allocations: 406.5 kB / 1.284 GB, free: 5.023 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.9429, allocations: 228.6 kB / 1.284 GB, free: 4.797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.9436, allocations: 400.3 kB / 1.285 GB, free: 4.332 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006105/0.9442, allocations: 295.7 kB / 1.285 GB, free: 4.031 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.284e-06/0.9442, allocations: 0 / 1.285 GB, free: 4.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001762/0.946, allocations: 0.6834 MB / 1.286 GB, free: 3.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.9461, allocations: 63.39 kB / 1.286 GB, free: 3.266 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.9466, allocations: 494 kB / 1.286 GB, free: 2.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.9467, allocations: 33.7 kB / 1.286 GB, free: 2.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.9469, allocations: 260.1 kB / 1.287 GB, free: 2.473 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.947, allocations: 122.2 kB / 1.287 GB, free: 2.352 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.9471, allocations: 102 kB / 1.287 GB, free: 2.246 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9473, allocations: 358.8 kB / 1.287 GB, free: 1.887 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.9478, allocations: 196.8 kB / 1.287 GB, free: 1.695 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.9484, allocations: 320.1 kB / 1.288 GB, free: 1.344 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.9494, allocations: 0.5454 MB / 1.288 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9494, allocations: 3.938 kB / 1.288 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001279/0.9507, allocations: 0.6479 MB / 1.289 GB, free: 76 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.9507, allocations: 66.06 kB / 1.289 GB, free: 0 / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.9508, allocations: 7.984 kB / 1.289 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.9508, allocations: 4.375 kB / 1.289 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.9513, allocations: 99.83 kB / 1.289 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.9513, allocations: 7.984 kB / 1.289 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.9518, allocations: 75.33 kB / 1.289 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.9519, allocations: 20 kB / 1.289 GB, free: 15.79 MB / 1.029 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.9521, allocations: 197.7 kB / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.9522, allocations: 59.28 kB / 1.289 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.9534, allocations: 0.5304 MB / 1.29 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9534, allocations: 3.984 kB / 1.29 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9535, allocations: 0 / 1.29 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.9537, allocations: 168.3 kB / 1.29 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.9538, allocations: 4 kB / 1.29 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.9542, allocations: 35.95 kB / 1.29 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.9543, allocations: 39.89 kB / 1.29 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001464/0.9558, allocations: 0.5706 MB / 1.291 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00166/0.9575, allocations: 0.9158 MB / 1.292 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004862/0.958, allocations: 223.9 kB / 1.292 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003866/0.9583, allocations: 346.9 kB / 1.292 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Backend: time 5.51e-07/0.9584, allocations: 4 kB / 1.292 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.9603, allocations: 0.7917 MB / 1.293 GB, free: 11.84 MB / 1.029 GB Notification: Performance of SimCode: time 0.002186/0.9625, allocations: 1.51 MB / 1.294 GB, free: 10.28 MB / 1.029 GB Notification: Performance of Templates: time 0.02304/0.9856, allocations: 15.07 MB / 1.309 GB, free: 11.36 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches