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.001644/0.001644, allocations: 107.1 kB / 15.99 MB, free: 6.355 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.001876/0.001876, allocations: 194.1 kB / 16.91 MB, free: 6.188 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.72/1.72, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.271/2.271, allocations: 390.2 MB / 0.665 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 66.23 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.279, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6871/0.9662, allocations: 179.4 MB / 1.125 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006799/0.973, allocations: 4.427 MB / 1.129 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.9741, allocations: 18.19 kB / 1.129 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.9749, allocations: 201 kB / 1.129 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.9773, allocations: 0.7114 MB / 1.13 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004358/0.9817, allocations: 1.41 MB / 1.132 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.9841, allocations: 1.268 MB / 1.133 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.9851, allocations: 429.2 kB / 1.133 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.9868, allocations: 0.5778 MB / 1.134 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009309/0.9877, allocations: 427.5 kB / 1.134 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.9879, allocations: 45.84 kB / 1.134 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.9915, allocations: 1.6 MB / 1.136 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.9919, allocations: 191.8 kB / 1.136 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.9927, allocations: 307.5 kB / 1.136 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.995, allocations: 0.9079 MB / 1.137 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.995, allocations: 0 / 1.137 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.995, allocations: 1 kB / 1.137 GB, free: 5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.588e-05/0.9951, allocations: 0 / 1.137 GB, free: 5 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002814/0.9979, allocations: 1.023 MB / 1.138 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.9979, allocations: 10.12 kB / 1.138 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/1, allocations: 281.5 kB / 1.138 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/1.001, allocations: 443.1 kB / 1.139 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/1.001, allocations: 33.88 kB / 1.139 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/1.001, allocations: 43.38 kB / 1.139 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.002, allocations: 0.5471 MB / 1.139 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/1.002, allocations: 5.297 kB / 1.139 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/1.003, allocations: 19.59 kB / 1.139 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/1.003, allocations: 13.56 kB / 1.139 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.004, allocations: 461 kB / 1.14 GB, free: 19.9 MB / 0.8731 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.002853/1.007, allocations: 2.111 MB / 1.142 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.008, allocations: 405.8 kB / 1.142 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/1.008, allocations: 231 kB / 1.143 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/1.009, allocations: 404 kB / 1.143 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006378/1.009, allocations: 298.5 kB / 1.143 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 2.935e-06/1.009, allocations: 0 / 1.143 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.00188/1.011, allocations: 0.682 MB / 1.144 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.011, allocations: 67.34 kB / 1.144 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/1.012, allocations: 493.1 kB / 1.144 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/1.012, allocations: 39.2 kB / 1.145 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/1.012, allocations: 256.2 kB / 1.145 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.013, allocations: 132.2 kB / 1.145 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/1.013, allocations: 86.77 kB / 1.145 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.013, allocations: 363.3 kB / 1.145 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/1.013, allocations: 196.1 kB / 1.145 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/1.014, allocations: 316.9 kB / 1.146 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009805/1.015, allocations: 0.5467 MB / 1.146 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.015, allocations: 9.125 kB / 1.146 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001423/1.016, allocations: 0.6539 MB / 1.147 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/1.017, allocations: 58.88 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.017, allocations: 3.344 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/1.017, allocations: 4.781 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/1.017, allocations: 100.3 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.017, allocations: 4.688 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/1.018, allocations: 81.11 kB / 1.147 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/1.018, allocations: 25.95 kB / 1.147 GB, free: 16.79 MB / 0.8731 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.0002958/1.018, allocations: 189.6 kB / 1.147 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/1.018, allocations: 57.28 kB / 1.147 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/1.02, allocations: 0.5338 MB / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.02, allocations: 3.656 kB / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.02, allocations: 1.094 kB / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.02, allocations: 3.047 kB / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/1.022, allocations: 1.354 MB / 1.149 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.022, allocations: 5.469 kB / 1.149 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/1.023, allocations: 85.88 kB / 1.149 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.023, allocations: 5.031 kB / 1.149 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/1.023, allocations: 12.95 kB / 1.149 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.023, allocations: 4.969 kB / 1.149 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.023, allocations: 4.625 kB / 1.149 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/1.025, allocations: 0.932 MB / 1.15 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/1.025, allocations: 179.4 kB / 1.151 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.025, allocations: 17.59 kB / 1.151 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/1.026, allocations: 38.17 kB / 1.151 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/1.026, allocations: 58.67 kB / 1.151 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/1.026, allocations: 18.64 kB / 1.151 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004526/1.026, allocations: 341.2 kB / 1.151 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.026, allocations: 0 / 1.151 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007441/1.027, allocations: 155 kB / 1.151 GB, free: 15.57 MB / 0.8731 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.0004758/1.027, allocations: 201 kB / 1.151 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001342/1.029, allocations: 0.6046 MB / 1.152 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.029, allocations: 4.188 kB / 1.152 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/1.029, allocations: 252.2 kB / 1.152 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.031, allocations: 296.5 kB / 1.152 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/1.033, allocations: 1.243 MB / 1.154 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/1.034, allocations: 0.8642 MB / 1.154 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/1.034, allocations: 47.59 kB / 1.155 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/1.034, allocations: 3.938 kB / 1.155 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.01664/1.05, allocations: 9.011 MB / 1.163 GB, free: 12.26 MB / 0.8731 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