Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 212.3 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.217/3.217, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 70.09 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.312, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2014/0.5134, allocations: 160.7 MB / 1.484 GB, free: 15.72 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006407/0.5198, allocations: 4.16 MB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.5202, allocations: 27.75 kB / 1.488 GB, free: 11.53 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.5209, allocations: 254.1 kB / 1.488 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.5227, allocations: 0.762 MB / 1.489 GB, free: 10.51 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.5263, allocations: 1.56 MB / 1.491 GB, free: 8.953 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.5278, allocations: 1.258 MB / 1.492 GB, free: 7.691 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.5283, allocations: 373.6 kB / 1.492 GB, free: 7.316 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.5298, allocations: 0.833 MB / 1.493 GB, free: 6.48 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.5304, allocations: 422.3 kB / 1.493 GB, free: 6.066 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.5304, allocations: 44 kB / 1.493 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.5324, allocations: 1.262 MB / 1.495 GB, free: 4.758 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.5327, allocations: 191.4 kB / 1.495 GB, free: 4.57 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.5329, allocations: 258.9 kB / 1.495 GB, free: 4.316 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.5346, allocations: 1.254 MB / 1.496 GB, free: 3.059 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5346, allocations: 3.938 kB / 1.496 GB, free: 3.055 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5346, allocations: 0 / 1.496 GB, free: 3.055 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.5346, allocations: 0 / 1.496 GB, free: 3.055 MB / 1.186 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.001851/0.5365, allocations: 0.9619 MB / 1.497 GB, free: 2.051 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5365, allocations: 12.03 kB / 1.497 GB, free: 2.039 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.5387, allocations: 287.2 kB / 1.498 GB, free: 1.758 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/0.5395, allocations: 410.6 kB / 1.498 GB, free: 1.328 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.5396, allocations: 33 kB / 1.498 GB, free: 1.297 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.5397, allocations: 40 kB / 1.498 GB, free: 1.258 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.5408, allocations: 0.5546 MB / 1.499 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5408, allocations: 0 / 1.499 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.5409, allocations: 16 kB / 1.499 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.5409, allocations: 15.94 kB / 1.499 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.542, allocations: 455.5 kB / 1.499 GB, free: 200 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.5445, allocations: 1.682 MB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.5455, allocations: 394.4 kB / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.546, allocations: 217.3 kB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.5466, allocations: 95.84 kB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006761/0.5472, allocations: 311 kB / 1.502 GB, free: 13.43 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 1.824e-06/0.5472, allocations: 0 / 1.502 GB, free: 13.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001912/0.5492, allocations: 0.6762 MB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.5492, allocations: 59.34 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.5497, allocations: 385.9 kB / 1.503 GB, free: 12.29 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.5497, allocations: 37.7 kB / 1.503 GB, free: 12.25 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.5499, allocations: 280.4 kB / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.5501, allocations: 138.8 kB / 1.503 GB, free: 11.83 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.5502, allocations: 86.12 kB / 1.503 GB, free: 11.74 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5504, allocations: 358.8 kB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.551, allocations: 248.2 kB / 1.504 GB, free: 11.12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.5517, allocations: 499.7 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5528, allocations: 0.5533 MB / 1.505 GB, free: 9.949 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5528, allocations: 4 kB / 1.505 GB, free: 9.945 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001375/0.5542, allocations: 0.6987 MB / 1.506 GB, free: 9.215 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.5542, allocations: 65.12 kB / 1.506 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5542, allocations: 4 kB / 1.506 GB, free: 9.137 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5542, allocations: 4 kB / 1.506 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.5547, allocations: 96.25 kB / 1.506 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5547, allocations: 4 kB / 1.506 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.5552, allocations: 63.73 kB / 1.506 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.5553, allocations: 27.92 kB / 1.506 GB, free: 8.945 MB / 1.201 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.0002463/0.5555, allocations: 190.9 kB / 1.506 GB, free: 8.75 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.5556, allocations: 51.61 kB / 1.506 GB, free: 8.699 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.5569, allocations: 0.5376 MB / 1.507 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5569, allocations: 4 kB / 1.507 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5569, allocations: 0 / 1.507 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5569, allocations: 0 / 1.507 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.5593, allocations: 1.218 MB / 1.508 GB, free: 6.852 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5593, allocations: 4 kB / 1.508 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.5597, allocations: 79.88 kB / 1.508 GB, free: 6.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.5597, allocations: 4 kB / 1.508 GB, free: 6.766 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.5598, allocations: 15.94 kB / 1.508 GB, free: 6.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.5598, allocations: 11.98 kB / 1.508 GB, free: 6.738 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.5598, allocations: 11.88 kB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.5616, allocations: 0.9177 MB / 1.509 GB, free: 5.746 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.5618, allocations: 87.56 kB / 1.509 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.5618, allocations: 23.98 kB / 1.509 GB, free: 5.637 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.5623, allocations: 31.97 kB / 1.509 GB, free: 5.605 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.5624, allocations: 51.86 kB / 1.509 GB, free: 5.555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.5625, allocations: 15.94 kB / 1.509 GB, free: 5.539 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000326/0.5628, allocations: 263.1 kB / 1.509 GB, free: 5.285 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5628, allocations: 0 / 1.509 GB, free: 5.285 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006058/0.5634, allocations: 163.7 kB / 1.509 GB, free: 5.125 MB / 1.201 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.000329/0.5637, allocations: 187 kB / 1.51 GB, free: 4.934 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.565, allocations: 0.6192 MB / 1.51 GB, free: 4.277 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.565, allocations: 4 kB / 1.51 GB, free: 4.273 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006722/0.5657, allocations: 275.6 kB / 1.51 GB, free: 4.004 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.5668, allocations: 200 kB / 1.511 GB, free: 3.812 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.5687, allocations: 1.041 MB / 1.512 GB, free: 2.699 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.569, allocations: 266 kB / 1.512 GB, free: 2.414 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003997/0.5694, allocations: 116.1 kB / 1.512 GB, free: 2.301 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.5696, allocations: 39.44 kB / 1.512 GB, free: 2.262 MB / 1.201 GB Notification: Performance of SimCode: time 6.11e-07/0.5696, allocations: 0 / 1.512 GB, free: 2.262 MB / 1.201 GB Notification: Performance of Templates: time 0.01767/0.5872, allocations: 10.01 MB / 1.522 GB, free: 8.477 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.196729071991285]