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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001517/0.001517, allocations: 104 kB / 16.35 MB, free: 5.824 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.001672/0.001672, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.66 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2678, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6982/0.966, allocations: 181.8 MB / 1.129 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006626/0.9726, allocations: 4.463 MB / 1.133 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.9737, allocations: 21.28 kB / 1.133 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000741/0.9745, allocations: 244.2 kB / 1.133 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.9766, allocations: 0.7576 MB / 1.134 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.9804, allocations: 1.515 MB / 1.135 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.9822, allocations: 1.262 MB / 1.137 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005971/0.9828, allocations: 443.8 kB / 1.137 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.9838, allocations: 0.576 MB / 1.138 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.9843, allocations: 407.8 kB / 1.138 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.9844, allocations: 47.3 kB / 1.138 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.9875, allocations: 1.547 MB / 1.14 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.9877, allocations: 184 kB / 1.14 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.9881, allocations: 302.5 kB / 1.14 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.9903, allocations: 1.305 MB / 1.141 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9903, allocations: 0 / 1.141 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9903, allocations: 0 / 1.141 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.9904, allocations: 0 / 1.141 GB, free: 4.215 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.001856/0.9922, allocations: 1.025 MB / 1.142 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.9923, allocations: 8.438 kB / 1.142 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.9943, allocations: 285.4 kB / 1.143 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.9952, allocations: 471.8 kB / 1.143 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.9952, allocations: 32.44 kB / 1.143 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.9953, allocations: 46.14 kB / 1.143 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/0.9963, allocations: 0.5448 MB / 1.144 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.9963, allocations: 0 / 1.144 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.9964, allocations: 18.94 kB / 1.144 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.9964, allocations: 14.12 kB / 1.144 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/0.9974, allocations: 458 kB / 1.144 GB, free: 19.07 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.002686/1, allocations: 2.114 MB / 1.146 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/1.001, allocations: 411 kB / 1.147 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/1.002, allocations: 222.3 kB / 1.147 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/1.002, allocations: 403.8 kB / 1.147 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/1.003, allocations: 295.8 kB / 1.147 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 2.835e-06/1.003, allocations: 0 / 1.147 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.001829/1.005, allocations: 0.6894 MB / 1.148 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/1.005, allocations: 62.3 kB / 1.148 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/1.005, allocations: 494.7 kB / 1.149 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/1.005, allocations: 35.17 kB / 1.149 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/1.006, allocations: 261.8 kB / 1.149 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/1.006, allocations: 127.8 kB / 1.149 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.006, allocations: 93.3 kB / 1.149 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.006, allocations: 364.9 kB / 1.15 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/1.007, allocations: 195.3 kB / 1.15 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/1.007, allocations: 313.7 kB / 1.15 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/1.008, allocations: 0.548 MB / 1.151 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.008, allocations: 2.406 kB / 1.151 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001408/1.01, allocations: 0.6496 MB / 1.151 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/1.01, allocations: 65.58 kB / 1.151 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.01, allocations: 6.438 kB / 1.151 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.01, allocations: 6.594 kB / 1.151 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/1.01, allocations: 94.25 kB / 1.151 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.01, allocations: 7.344 kB / 1.151 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/1.011, allocations: 71.08 kB / 1.151 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/1.011, allocations: 27.95 kB / 1.151 GB, free: 15.91 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.0002751/1.011, allocations: 196.9 kB / 1.152 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/1.011, allocations: 60.06 kB / 1.152 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/1.012, allocations: 0.5283 MB / 1.152 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.012, allocations: 7.312 kB / 1.152 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.012, allocations: 2.562 kB / 1.152 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.012, allocations: 2.484 kB / 1.152 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/1.015, allocations: 1.355 MB / 1.154 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.015, allocations: 3.75 kB / 1.154 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/1.015, allocations: 77.3 kB / 1.154 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.015, allocations: 5.281 kB / 1.154 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/1.016, allocations: 13.11 kB / 1.154 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.016, allocations: 4.125 kB / 1.154 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.016, allocations: 8.312 kB / 1.154 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/1.017, allocations: 0.9371 MB / 1.155 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/1.018, allocations: 172.2 kB / 1.155 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.018, allocations: 14.2 kB / 1.155 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/1.018, allocations: 35.36 kB / 1.155 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.018, allocations: 55.55 kB / 1.155 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/1.019, allocations: 14.73 kB / 1.155 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005487/1.019, allocations: 345 kB / 1.155 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.553e-06/1.019, allocations: 0 / 1.155 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007474/1.02, allocations: 157.2 kB / 1.155 GB, free: 14.39 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.0006287/1.021, allocations: 208.9 kB / 1.156 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.022, allocations: 0.5765 MB / 1.156 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.022, allocations: 0 / 1.156 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/1.023, allocations: 287.7 kB / 1.156 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.024, allocations: 296.1 kB / 1.157 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/1.026, allocations: 1.044 MB / 1.158 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/1.027, allocations: 0.868 MB / 1.159 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005586/1.028, allocations: 124.5 kB / 1.159 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/1.028, allocations: 48.06 kB / 1.159 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/1.028, allocations: 0 / 1.159 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.02319/1.051, allocations: 10.76 MB / 1.169 GB, free: 9.367 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 -s gbode -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