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.001448/0.001448, allocations: 112.6 kB / 16.37 MB, free: 6 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.001547/0.001547, allocations: 196 kB / 17.31 MB, free: 5.613 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.17 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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 61.61 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2735, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8021/1.076, allocations: 181.8 MB / 1.129 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006567/1.082, allocations: 4.459 MB / 1.133 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00096/1.083, allocations: 20.19 kB / 1.133 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000837/1.084, allocations: 244.4 kB / 1.133 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/1.086, allocations: 0.7571 MB / 1.134 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00394/1.09, allocations: 1.517 MB / 1.135 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002011/1.092, allocations: 1.262 MB / 1.137 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006905/1.093, allocations: 443.5 kB / 1.137 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/1.094, allocations: 0.5717 MB / 1.138 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/1.095, allocations: 411.4 kB / 1.138 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/1.095, allocations: 45.88 kB / 1.138 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/1.098, allocations: 1.543 MB / 1.14 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002302/1.098, allocations: 188.8 kB / 1.14 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/1.099, allocations: 304.1 kB / 1.14 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/1.101, allocations: 1.309 MB / 1.141 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.101, allocations: 0 / 1.141 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/1.101, allocations: 3.938 kB / 1.141 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.101, allocations: 5.375 kB / 1.141 GB, free: 4.633 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.001945/1.103, allocations: 1.009 MB / 1.142 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.103, allocations: 14.03 kB / 1.142 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/1.106, allocations: 288.6 kB / 1.143 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/1.106, allocations: 465.9 kB / 1.143 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.106, allocations: 29.16 kB / 1.143 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/1.107, allocations: 43.38 kB / 1.143 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009559/1.107, allocations: 0.5474 MB / 1.144 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.108, allocations: 5.312 kB / 1.144 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/1.108, allocations: 20.14 kB / 1.144 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/1.108, allocations: 14.03 kB / 1.144 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/1.109, allocations: 459.5 kB / 1.144 GB, free: 19.5 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.002695/1.111, allocations: 2.113 MB / 1.146 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/1.112, allocations: 402.7 kB / 1.147 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/1.113, allocations: 228.6 kB / 1.147 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007012/1.113, allocations: 403.6 kB / 1.147 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005803/1.114, allocations: 303.1 kB / 1.148 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 2.445e-06/1.114, allocations: 0 / 1.148 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.001817/1.116, allocations: 0.679 MB / 1.148 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.116, allocations: 63.77 kB / 1.148 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/1.117, allocations: 499.1 kB / 1.149 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/1.117, allocations: 35.3 kB / 1.149 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/1.117, allocations: 258.1 kB / 1.149 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/1.117, allocations: 129.2 kB / 1.149 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.117, allocations: 88.89 kB / 1.149 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.117, allocations: 361.1 kB / 1.15 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/1.118, allocations: 203.3 kB / 1.15 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/1.118, allocations: 313 kB / 1.15 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/1.119, allocations: 0.5506 MB / 1.151 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.119, allocations: 1.312 kB / 1.151 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001314/1.12, allocations: 0.6454 MB / 1.151 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/1.121, allocations: 65.02 kB / 1.151 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.121, allocations: 4.391 kB / 1.151 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.121, allocations: 5.812 kB / 1.151 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/1.121, allocations: 96.5 kB / 1.151 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.121, allocations: 5.969 kB / 1.151 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/1.122, allocations: 74.73 kB / 1.151 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/1.122, allocations: 24.42 kB / 1.151 GB, free: 16.34 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.0002688/1.122, allocations: 195.7 kB / 1.152 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/1.122, allocations: 61.88 kB / 1.152 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/1.123, allocations: 0.5282 MB / 1.152 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.123, allocations: 3.688 kB / 1.152 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.123, allocations: 0 / 1.152 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.123, allocations: 3.641 kB / 1.152 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/1.126, allocations: 1.352 MB / 1.154 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.126, allocations: 3.938 kB / 1.154 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/1.126, allocations: 80.09 kB / 1.154 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.126, allocations: 9.594 kB / 1.154 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/1.126, allocations: 16.03 kB / 1.154 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/1.126, allocations: 5.281 kB / 1.154 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.126, allocations: 3.25 kB / 1.154 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/1.128, allocations: 0.9364 MB / 1.155 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/1.128, allocations: 173.3 kB / 1.155 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/1.128, allocations: 17.22 kB / 1.155 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/1.128, allocations: 37.75 kB / 1.155 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.129, allocations: 47.14 kB / 1.155 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/1.129, allocations: 18.33 kB / 1.155 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004173/1.129, allocations: 346.3 kB / 1.155 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.129, allocations: 0 / 1.155 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006716/1.13, allocations: 151.5 kB / 1.155 GB, free: 14.47 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.0004626/1.13, allocations: 210.9 kB / 1.156 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.131, allocations: 0.5747 MB / 1.156 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.131, allocations: 1.156 kB / 1.156 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/1.132, allocations: 289.4 kB / 1.156 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.133, allocations: 290.1 kB / 1.157 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/1.135, allocations: 1.049 MB / 1.158 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/1.136, allocations: 0.8692 MB / 1.159 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004424/1.136, allocations: 123.7 kB / 1.159 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.136, allocations: 46.69 kB / 1.159 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/1.136, allocations: 1.344 kB / 1.159 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.02079/1.157, allocations: 10.76 MB / 1.169 GB, free: 9.469 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 cvode -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