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.00185/0.00185, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002108/0.002108, allocations: 191 kB / 16.25 MB, free: 6.641 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.55/1.55, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.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.846/2.846, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7262, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2189/0.9451, allocations: 179.4 MB / 1.192 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007833/0.953, allocations: 4.435 MB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009618/0.954, allocations: 15.88 kB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007862/0.9549, allocations: 210.7 kB / 1.197 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.9569, allocations: 0.7 MB / 1.197 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.961, allocations: 1.422 MB / 1.199 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.963, allocations: 1.262 MB / 1.2 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.9637, allocations: 433.3 kB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.9649, allocations: 0.5682 MB / 1.201 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.9655, allocations: 438.2 kB / 1.201 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.9656, allocations: 44 kB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.9684, allocations: 1.597 MB / 1.203 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.9687, allocations: 183.5 kB / 1.203 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.9691, allocations: 310.5 kB / 1.203 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.9716, allocations: 1.406 MB / 1.205 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9716, allocations: 4 kB / 1.205 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9716, allocations: 0 / 1.205 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.9716, allocations: 0 / 1.205 GB, free: 1.613 MB / 0.9512 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.001973/0.9736, allocations: 1.013 MB / 1.206 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9736, allocations: 8.031 kB / 1.206 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.9758, allocations: 283 kB / 1.206 GB, free: 260 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.9766, allocations: 449.6 kB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.9766, allocations: 33 kB / 1.206 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.9767, allocations: 47.91 kB / 1.206 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.9778, allocations: 0.5507 MB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.9779, allocations: 0 / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.9779, allocations: 20 kB / 1.207 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.9779, allocations: 15.92 kB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.9791, allocations: 459.5 kB / 1.207 GB, free: 14.62 MB / 0.9669 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.002876/0.9819, allocations: 2.116 MB / 1.21 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.983, allocations: 406.4 kB / 1.21 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.9835, allocations: 236.6 kB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007538/0.9843, allocations: 396.3 kB / 1.211 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006931/0.985, allocations: 290.9 kB / 1.211 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.544e-06/0.985, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001922/0.9869, allocations: 0.6888 MB / 1.211 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.987, allocations: 63.41 kB / 1.212 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.9877, allocations: 490.1 kB / 1.212 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.9877, allocations: 45.69 kB / 1.212 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.988, allocations: 256 kB / 1.212 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.9881, allocations: 126.3 kB / 1.212 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.9883, allocations: 90.03 kB / 1.212 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.9885, allocations: 366.8 kB / 1.213 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.989, allocations: 192.8 kB / 1.213 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.9897, allocations: 320.2 kB / 1.213 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9908, allocations: 0.5452 MB / 1.214 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9908, allocations: 4 kB / 1.214 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001395/0.9922, allocations: 0.66 MB / 1.215 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/0.9922, allocations: 59.41 kB / 1.215 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9923, allocations: 4 kB / 1.215 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.9923, allocations: 4 kB / 1.215 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.9928, allocations: 95.88 kB / 1.215 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.9928, allocations: 7.938 kB / 1.215 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.9934, allocations: 83.59 kB / 1.215 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.9935, allocations: 24 kB / 1.215 GB, free: 6.723 MB / 0.9669 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.0002674/0.9937, allocations: 194.5 kB / 1.215 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.9938, allocations: 55.34 kB / 1.215 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.9952, allocations: 0.5371 MB / 1.216 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.9952, allocations: 4 kB / 1.216 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9952, allocations: 0 / 1.216 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.9952, allocations: 7.922 kB / 1.216 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.9977, allocations: 1.346 MB / 1.217 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.9978, allocations: 7.938 kB / 1.217 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.9982, allocations: 76.31 kB / 1.217 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.9982, allocations: 7.938 kB / 1.217 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.9983, allocations: 12 kB / 1.217 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.9983, allocations: 11.98 kB / 1.217 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.9983, allocations: 7.938 kB / 1.217 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1, allocations: 0.9333 MB / 1.218 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/1, allocations: 180.3 kB / 1.218 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.001, allocations: 8 kB / 1.218 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/1.001, allocations: 39.95 kB / 1.218 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.001, allocations: 51.89 kB / 1.218 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/1.001, allocations: 19.98 kB / 1.218 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004497/1.002, allocations: 346.8 kB / 1.219 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 1.219 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006268/1.002, allocations: 147.8 kB / 1.219 GB, free: 2.555 MB / 0.9669 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 (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.000503/1.003, allocations: 196.5 kB / 1.219 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001322/1.004, allocations: 0.5929 MB / 1.219 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.004, allocations: 128 / 1.219 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007347/1.005, allocations: 291.5 kB / 1.22 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.006, allocations: 282.1 kB / 1.22 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/1.009, allocations: 1.213 MB / 1.221 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/1.009, allocations: 0.8665 MB / 1.222 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000577/1.01, allocations: 132.6 kB / 1.222 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/1.01, allocations: 47.42 kB / 1.222 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.01, allocations: 0 / 1.222 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of Templates: time 0.02199/1.032, allocations: 10.62 MB / 1.233 GB, free: 4.387 MB / 0.9825 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches