Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001554/0.001554, allocations: 113.9 kB / 16.42 MB, free: 6.469 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.001801/0.001801, allocations: 183.9 kB / 17.34 MB, free: 5.711 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 68.09 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7916, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1787/0.9703, allocations: 181.8 MB / 1.345 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005724/0.9761, allocations: 4.436 MB / 1.349 GB, free: 8.898 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.9767, allocations: 23.81 kB / 1.349 GB, free: 8.875 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.9773, allocations: 246.1 kB / 1.349 GB, free: 8.633 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.9795, allocations: 0.7932 MB / 1.35 GB, free: 7.836 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.9843, allocations: 1.551 MB / 1.352 GB, free: 6.285 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.9863, allocations: 1.27 MB / 1.353 GB, free: 5.012 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009931/0.9873, allocations: 449.3 kB / 1.353 GB, free: 4.566 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.9888, allocations: 0.5878 MB / 1.354 GB, free: 3.977 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.9898, allocations: 414.2 kB / 1.354 GB, free: 3.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.99, allocations: 44 kB / 1.354 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/0.9938, allocations: 1.555 MB / 1.356 GB, free: 1.969 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.9942, allocations: 191.5 kB / 1.356 GB, free: 1.781 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.9949, allocations: 294.5 kB / 1.356 GB, free: 1.492 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.998, allocations: 1.317 MB / 1.358 GB, free: 180 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9981, allocations: 0 / 1.358 GB, free: 180 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9981, allocations: 3.938 kB / 1.358 GB, free: 176 kB / 1.076 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.9981, allocations: 0 / 1.358 GB, free: 176 kB / 1.076 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.002661/1.001, allocations: 1.04 MB / 1.359 GB, free: 15.06 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/1.001, allocations: 12.62 kB / 1.359 GB, free: 15.05 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/1.003, allocations: 279.3 kB / 1.359 GB, free: 14.78 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.004, allocations: 477.8 kB / 1.359 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/1.004, allocations: 29 kB / 1.359 GB, free: 14.24 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/1.004, allocations: 48 kB / 1.36 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/1.005, allocations: 0.5507 MB / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/1.005, allocations: 0 / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/1.005, allocations: 16 kB / 1.36 GB, free: 13.6 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/1.005, allocations: 15.94 kB / 1.36 GB, free: 13.58 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/1.006, allocations: 459.5 kB / 1.361 GB, free: 13.13 MB / 1.092 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.003216/1.01, allocations: 2.116 MB / 1.363 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.011, allocations: 407.2 kB / 1.363 GB, free: 10.48 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/1.012, allocations: 224.6 kB / 1.363 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008531/1.013, allocations: 404.3 kB / 1.364 GB, free: 9.789 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008573/1.014, allocations: 300.3 kB / 1.364 GB, free: 9.484 MB / 1.092 GB Notification: Performance of pre-optimization done (n=37): time 2.956e-06/1.014, allocations: 0 / 1.364 GB, free: 9.484 MB / 1.092 GB Notification: Performance of matching and sorting (n=37): time 0.002577/1.016, allocations: 0.6885 MB / 1.365 GB, free: 8.789 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/1.016, allocations: 63.41 kB / 1.365 GB, free: 8.715 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007718/1.017, allocations: 498 kB / 1.365 GB, free: 8.215 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/1.017, allocations: 37.7 kB / 1.365 GB, free: 8.172 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/1.017, allocations: 260.5 kB / 1.365 GB, free: 7.914 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.018, allocations: 130.9 kB / 1.365 GB, free: 7.785 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/1.018, allocations: 90.08 kB / 1.366 GB, free: 7.691 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.018, allocations: 362.8 kB / 1.366 GB, free: 7.328 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/1.019, allocations: 196.8 kB / 1.366 GB, free: 7.137 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/1.019, allocations: 324.1 kB / 1.366 GB, free: 6.785 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.021, allocations: 0.545 MB / 1.367 GB, free: 6.188 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.021, allocations: 0 / 1.367 GB, free: 6.188 MB / 1.092 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001777/1.023, allocations: 0.6525 MB / 1.368 GB, free: 5.516 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/1.023, allocations: 63.39 kB / 1.368 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.023, allocations: 4 kB / 1.368 GB, free: 5.438 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.023, allocations: 4 kB / 1.368 GB, free: 5.434 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/1.023, allocations: 99.81 kB / 1.368 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.023, allocations: 8.25 kB / 1.368 GB, free: 5.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007233/1.024, allocations: 79.58 kB / 1.368 GB, free: 5.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/1.024, allocations: 23.98 kB / 1.368 GB, free: 5.227 MB / 1.092 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.0003159/1.025, allocations: 190.8 kB / 1.368 GB, free: 5.031 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/1.025, allocations: 63.59 kB / 1.368 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/1.026, allocations: 0.5343 MB / 1.369 GB, free: 4.43 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.027, allocations: 3.984 kB / 1.369 GB, free: 4.426 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.027, allocations: 0 / 1.369 GB, free: 4.426 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/1.027, allocations: 164.7 kB / 1.369 GB, free: 4.246 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.027, allocations: 11.98 kB / 1.369 GB, free: 4.234 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/1.028, allocations: 39.89 kB / 1.369 GB, free: 4.195 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.028, allocations: 35.95 kB / 1.369 GB, free: 4.16 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002086/1.03, allocations: 0.5821 MB / 1.369 GB, free: 3.57 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002247/1.032, allocations: 0.9122 MB / 1.37 GB, free: 2.641 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006727/1.033, allocations: 224.2 kB / 1.371 GB, free: 2.422 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005967/1.033, allocations: 350.8 kB / 1.371 GB, free: 2.082 MB / 1.092 GB Notification: Performance of Backend: time 2.605e-06/1.033, allocations: 0 / 1.371 GB, free: 2.082 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002937/1.036, allocations: 0.8143 MB / 1.372 GB, free: 1.246 MB / 1.092 GB Notification: Performance of SimCode: time 0.002954/1.039, allocations: 1.517 MB / 1.373 GB, free: 15.68 MB / 1.107 GB Notification: Performance of Templates: time 0.02371/1.063, allocations: 15.05 MB / 1.388 GB, free: 0.7734 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches