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.001098/0.001098, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 200.1 kB / 16.79 MB, free: 6.809 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.346/1.346, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.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.386/2.386, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.89 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7047, allocations: 140.3 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2034/0.9082, allocations: 179.6 MB / 1.125 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007147/0.9154, allocations: 4.479 MB / 1.129 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.9163, allocations: 15.88 kB / 1.129 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000931/0.9173, allocations: 194.7 kB / 1.129 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.9195, allocations: 0.7156 MB / 1.13 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.9235, allocations: 1.407 MB / 1.132 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.9254, allocations: 1.675 MB / 1.133 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.9262, allocations: 390.2 kB / 1.134 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.9276, allocations: 0.5252 MB / 1.134 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007743/0.9283, allocations: 422.3 kB / 1.134 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.9285, allocations: 28 kB / 1.135 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.932, allocations: 1.812 MB / 1.136 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.9324, allocations: 171.4 kB / 1.136 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.9329, allocations: 294.5 kB / 1.137 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.9346, allocations: 0.8966 MB / 1.138 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9346, allocations: 0 / 1.138 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.01e-07/0.9346, allocations: 0 / 1.138 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.9347, allocations: 4 kB / 1.138 GB, free: 0.9727 MB / 0.8887 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.002153/0.9368, allocations: 1.014 MB / 1.139 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.9369, allocations: 8.031 kB / 1.139 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.9391, allocations: 290.8 kB / 1.139 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008364/0.9399, allocations: 441.5 kB / 1.139 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.94, allocations: 33 kB / 1.139 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.9401, allocations: 44 kB / 1.139 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.9412, allocations: 0.5468 MB / 1.14 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.9412, allocations: 7.875 kB / 1.14 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.9413, allocations: 20 kB / 1.14 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.9413, allocations: 11.94 kB / 1.14 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.9424, allocations: 471.5 kB / 1.14 GB, free: 13.98 MB / 0.9044 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.002895/0.9453, allocations: 2.112 MB / 1.142 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.9464, allocations: 402.5 kB / 1.143 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.9469, allocations: 233.2 kB / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007284/0.9476, allocations: 400.2 kB / 1.143 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006565/0.9483, allocations: 302.7 kB / 1.144 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.906e-06/0.9483, allocations: 0 / 1.144 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001868/0.9502, allocations: 0.6843 MB / 1.144 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.9502, allocations: 59.16 kB / 1.144 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.9508, allocations: 494.1 kB / 1.145 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.9509, allocations: 37.7 kB / 1.145 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.9511, allocations: 260.1 kB / 1.145 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.9512, allocations: 122.2 kB / 1.145 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.9514, allocations: 94.12 kB / 1.145 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.9516, allocations: 362.8 kB / 1.146 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.9521, allocations: 196.8 kB / 1.146 GB, free: 8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.9527, allocations: 320.1 kB / 1.146 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.9537, allocations: 0.541 MB / 1.147 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.9537, allocations: 0 / 1.147 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001381/0.9551, allocations: 0.648 MB / 1.147 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.9552, allocations: 64.8 kB / 1.147 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9552, allocations: 4.375 kB / 1.147 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9552, allocations: 8 kB / 1.147 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.9557, allocations: 99.81 kB / 1.148 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9557, allocations: 4 kB / 1.148 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.9564, allocations: 79.47 kB / 1.148 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.9564, allocations: 31.94 kB / 1.148 GB, free: 6.09 MB / 0.9044 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.0002518/0.9567, allocations: 193.6 kB / 1.148 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.9568, allocations: 55.34 kB / 1.148 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.9581, allocations: 0.5346 MB / 1.148 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.9581, allocations: 4 kB / 1.148 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9581, allocations: 0 / 1.148 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9581, allocations: 0 / 1.148 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.9605, allocations: 1.354 MB / 1.15 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9605, allocations: 7.938 kB / 1.15 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.9609, allocations: 79.81 kB / 1.15 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/0.9609, allocations: 8 kB / 1.15 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.961, allocations: 12.38 kB / 1.15 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.961, allocations: 8 kB / 1.15 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.961, allocations: 4 kB / 1.15 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.9627, allocations: 0.9366 MB / 1.151 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.963, allocations: 176.3 kB / 1.151 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.9631, allocations: 15.98 kB / 1.151 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.9636, allocations: 47.95 kB / 1.151 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.9638, allocations: 43.89 kB / 1.151 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.9638, allocations: 15.98 kB / 1.151 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004721/0.9643, allocations: 350.8 kB / 1.151 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9643, allocations: 0 / 1.151 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006271/0.9649, allocations: 151.8 kB / 1.152 GB, free: 1.91 MB / 0.9044 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.0004941/0.9654, allocations: 200.8 kB / 1.152 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.9667, allocations: 0.5804 MB / 1.152 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.9667, allocations: 4 kB / 1.152 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006177/0.9673, allocations: 259 kB / 1.153 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.9688, allocations: 279.8 kB / 1.153 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.9709, allocations: 1.244 MB / 1.154 GB, free: 15.26 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.9714, allocations: 0.8667 MB / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.9716, allocations: 43.44 kB / 1.155 GB, free: 14.32 MB / 0.92 GB Notification: Performance of SimCode: time 8.21e-07/0.9716, allocations: 0 / 1.155 GB, free: 14.32 MB / 0.92 GB Notification: Performance of Templates: time 0.01737/0.989, allocations: 9.012 MB / 1.164 GB, free: 5.418 MB / 0.92 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