Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001345/0.001345, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00153/0.00153, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.8 MB / 0.7714 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002105/0.002105, allocations: 66.44 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3062, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2136/0.5198, allocations: 185.6 MB / 1.466 GB, free: 0.957 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007076/0.5269, allocations: 4.505 MB / 1.47 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.5277, allocations: 27.75 kB / 1.47 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008829/0.5286, allocations: 254.1 kB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.5308, allocations: 0.797 MB / 1.471 GB, free: 11.37 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.535, allocations: 1.606 MB / 1.473 GB, free: 9.762 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.537, allocations: 1.274 MB / 1.474 GB, free: 8.484 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006834/0.5377, allocations: 357.8 kB / 1.474 GB, free: 8.121 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.5389, allocations: 0.6033 MB / 1.475 GB, free: 7.516 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.5396, allocations: 426.2 kB / 1.475 GB, free: 7.098 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.5396, allocations: 48 kB / 1.476 GB, free: 7.051 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.543, allocations: 1.675 MB / 1.477 GB, free: 5.371 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.5432, allocations: 195.4 kB / 1.477 GB, free: 5.18 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.5437, allocations: 310.5 kB / 1.478 GB, free: 4.875 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.5463, allocations: 1.308 MB / 1.479 GB, free: 3.562 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5463, allocations: 0 / 1.479 GB, free: 3.562 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5463, allocations: 0 / 1.479 GB, free: 3.562 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.5463, allocations: 0 / 1.479 GB, free: 3.562 MB / 1.17 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.001899/0.5482, allocations: 0.9738 MB / 1.48 GB, free: 2.547 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5482, allocations: 12.03 kB / 1.48 GB, free: 2.535 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.5503, allocations: 291.2 kB / 1.48 GB, free: 2.25 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/0.5512, allocations: 402.6 kB / 1.481 GB, free: 1.836 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.5512, allocations: 33 kB / 1.481 GB, free: 1.801 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.5513, allocations: 44 kB / 1.481 GB, free: 1.758 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5524, allocations: 0.5468 MB / 1.481 GB, free: 1.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5524, allocations: 0 / 1.481 GB, free: 1.18 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.5524, allocations: 19.98 kB / 1.481 GB, free: 1.16 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.5525, allocations: 15.94 kB / 1.481 GB, free: 1.145 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5535, allocations: 459.6 kB / 1.482 GB, free: 0.6914 MB / 1.17 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.00301/0.5565, allocations: 2.085 MB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5575, allocations: 394.4 kB / 1.484 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.558, allocations: 216.6 kB / 1.484 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/0.5586, allocations: 88.5 kB / 1.484 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006628/0.5593, allocations: 292.4 kB / 1.485 GB, free: 13.49 MB / 1.186 GB Notification: Performance of pre-optimization done (n=37): time 2.986e-06/0.5593, allocations: 0 / 1.485 GB, free: 13.49 MB / 1.186 GB Notification: Performance of matching and sorting (n=37): time 0.001882/0.5612, allocations: 0.7008 MB / 1.485 GB, free: 12.78 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.5612, allocations: 63.38 kB / 1.485 GB, free: 12.71 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.5619, allocations: 498.1 kB / 1.486 GB, free: 12.21 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.5619, allocations: 33.7 kB / 1.486 GB, free: 12.17 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.5622, allocations: 260.5 kB / 1.486 GB, free: 11.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5623, allocations: 130.9 kB / 1.486 GB, free: 11.78 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.5625, allocations: 98 kB / 1.486 GB, free: 11.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.5627, allocations: 362.8 kB / 1.487 GB, free: 11.32 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.5632, allocations: 200.8 kB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/0.5638, allocations: 315.7 kB / 1.487 GB, free: 10.78 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5648, allocations: 0.5487 MB / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5649, allocations: 0 / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001374/0.5662, allocations: 0.6445 MB / 1.488 GB, free: 9.512 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.5663, allocations: 65.42 kB / 1.488 GB, free: 9.438 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.5663, allocations: 4 kB / 1.488 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5663, allocations: 7.938 kB / 1.488 GB, free: 9.426 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.5668, allocations: 95.88 kB / 1.489 GB, free: 9.332 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5668, allocations: 4 kB / 1.489 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.5674, allocations: 83.83 kB / 1.489 GB, free: 9.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.5675, allocations: 23.98 kB / 1.489 GB, free: 9.223 MB / 1.186 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.0002768/0.5677, allocations: 196.3 kB / 1.489 GB, free: 9.023 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.774e-05/0.5678, allocations: 59.62 kB / 1.489 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.5691, allocations: 0.5372 MB / 1.489 GB, free: 8.422 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5691, allocations: 4 kB / 1.489 GB, free: 8.418 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.5691, allocations: 0 / 1.489 GB, free: 8.418 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5691, allocations: 0 / 1.489 GB, free: 8.418 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.5715, allocations: 1.328 MB / 1.491 GB, free: 6.996 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.5715, allocations: 7.938 kB / 1.491 GB, free: 6.988 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.572, allocations: 80.27 kB / 1.491 GB, free: 6.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.572, allocations: 8 kB / 1.491 GB, free: 6.902 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.572, allocations: 11.98 kB / 1.491 GB, free: 6.891 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.572, allocations: 8 kB / 1.491 GB, free: 6.883 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.572, allocations: 7.938 kB / 1.491 GB, free: 6.875 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.5738, allocations: 0.9299 MB / 1.492 GB, free: 5.883 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.574, allocations: 103.5 kB / 1.492 GB, free: 5.781 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.5741, allocations: 12 kB / 1.492 GB, free: 5.77 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.5745, allocations: 35.95 kB / 1.492 GB, free: 5.734 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5747, allocations: 51.81 kB / 1.492 GB, free: 5.684 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.5747, allocations: 15.98 kB / 1.492 GB, free: 5.668 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004451/0.5752, allocations: 346.8 kB / 1.492 GB, free: 5.332 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5752, allocations: 0 / 1.492 GB, free: 5.332 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006309/0.5758, allocations: 155.8 kB / 1.492 GB, free: 5.18 MB / 1.186 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.0003414/0.5761, allocations: 183 kB / 1.493 GB, free: 4.992 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.5774, allocations: 0.5685 MB / 1.493 GB, free: 4.398 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5774, allocations: 0 / 1.493 GB, free: 4.398 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.578, allocations: 263.6 kB / 1.493 GB, free: 4.145 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.5794, allocations: 274.8 kB / 1.494 GB, free: 3.879 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.5814, allocations: 1.093 MB / 1.495 GB, free: 2.703 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.5819, allocations: 0.8703 MB / 1.496 GB, free: 1.805 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.5821, allocations: 47.42 kB / 1.496 GB, free: 1.758 MB / 1.186 GB Notification: Performance of SimCode: time 8.01e-07/0.5821, allocations: 0 / 1.496 GB, free: 1.758 MB / 1.186 GB Notification: Performance of Templates: time 0.01577/0.5979, allocations: 9.104 MB / 1.504 GB, free: 8.746 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.930554796999786]