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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 200.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.88/2.88, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 63.91 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9492/0.9515, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2249/1.176, allocations: 182.7 MB / 1.452 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007349/1.184, allocations: 4.493 MB / 1.457 GB, free: 8.68 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006293/1.184, allocations: 19.88 kB / 1.457 GB, free: 8.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007578/1.185, allocations: 250.1 kB / 1.457 GB, free: 8.414 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/1.187, allocations: 0.7971 MB / 1.458 GB, free: 7.613 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004489/1.192, allocations: 1.556 MB / 1.459 GB, free: 6.059 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00185/1.194, allocations: 1.258 MB / 1.461 GB, free: 4.797 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/1.194, allocations: 361.4 kB / 1.461 GB, free: 4.434 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/1.196, allocations: 0.58 MB / 1.462 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000585/1.196, allocations: 442.1 kB / 1.462 GB, free: 3.418 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/1.196, allocations: 48 kB / 1.462 GB, free: 3.371 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/1.199, allocations: 1.648 MB / 1.464 GB, free: 1.719 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/1.2, allocations: 191.4 kB / 1.464 GB, free: 1.531 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003348/1.2, allocations: 298.5 kB / 1.464 GB, free: 1.238 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/1.202, allocations: 1.323 MB / 1.465 GB, free: 15.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.202, allocations: 0 / 1.465 GB, free: 15.91 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.482e-06/1.202, allocations: 0 / 1.465 GB, free: 15.91 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.202, allocations: 0 / 1.465 GB, free: 15.91 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.001973/1.204, allocations: 1.032 MB / 1.466 GB, free: 14.82 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.204, allocations: 12.03 kB / 1.466 GB, free: 14.81 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.206, allocations: 291.2 kB / 1.467 GB, free: 14.52 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/1.207, allocations: 469.8 kB / 1.467 GB, free: 14.03 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/1.207, allocations: 29 kB / 1.467 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/1.207, allocations: 47.98 kB / 1.467 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.208, allocations: 0.5468 MB / 1.468 GB, free: 13.37 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.208, allocations: 0 / 1.468 GB, free: 13.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/1.208, allocations: 19.94 kB / 1.468 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/1.208, allocations: 15.94 kB / 1.468 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.21, allocations: 455.6 kB / 1.468 GB, free: 12.89 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.002851/1.212, allocations: 2.12 MB / 1.47 GB, free: 10.64 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/1.213, allocations: 394.3 kB / 1.471 GB, free: 10.24 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/1.214, allocations: 220.6 kB / 1.471 GB, free: 10.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/1.215, allocations: 400.3 kB / 1.471 GB, free: 9.559 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006674/1.215, allocations: 294.8 kB / 1.472 GB, free: 9.258 MB / 1.17 GB Notification: Performance of pre-optimization done (n=37): time 2.245e-06/1.215, allocations: 0 / 1.472 GB, free: 9.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=37): time 0.001911/1.217, allocations: 0.6824 MB / 1.472 GB, free: 8.57 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/1.217, allocations: 59.41 kB / 1.472 GB, free: 8.5 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/1.218, allocations: 0.4902 MB / 1.473 GB, free: 8 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/1.218, allocations: 33.7 kB / 1.473 GB, free: 7.961 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/1.218, allocations: 264.5 kB / 1.473 GB, free: 7.699 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/1.218, allocations: 123 kB / 1.473 GB, free: 7.578 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.219, allocations: 98.06 kB / 1.473 GB, free: 7.477 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.219, allocations: 362.8 kB / 1.474 GB, free: 7.113 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/1.219, allocations: 196.8 kB / 1.474 GB, free: 6.922 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/1.22, allocations: 323.8 kB / 1.474 GB, free: 6.562 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.221, allocations: 0.5411 MB / 1.475 GB, free: 5.969 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.221, allocations: 0 / 1.475 GB, free: 5.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001384/1.223, allocations: 0.6524 MB / 1.475 GB, free: 5.297 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/1.223, allocations: 71.33 kB / 1.475 GB, free: 5.215 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.223, allocations: 0 / 1.475 GB, free: 5.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.223, allocations: 8 kB / 1.475 GB, free: 5.207 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/1.223, allocations: 95.88 kB / 1.475 GB, free: 5.113 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.223, allocations: 12 kB / 1.475 GB, free: 5.102 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/1.224, allocations: 79.83 kB / 1.476 GB, free: 5.023 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/1.224, allocations: 20 kB / 1.476 GB, free: 5.004 MB / 1.17 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.0002594/1.224, allocations: 201.5 kB / 1.476 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/1.224, allocations: 51.67 kB / 1.476 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/1.225, allocations: 0.5379 MB / 1.476 GB, free: 4.199 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.225, allocations: 4 kB / 1.476 GB, free: 4.195 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/1.225, allocations: 4 kB / 1.476 GB, free: 4.191 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.225, allocations: 3.984 kB / 1.476 GB, free: 4.188 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/1.228, allocations: 1.349 MB / 1.478 GB, free: 2.738 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.228, allocations: 7.938 kB / 1.478 GB, free: 2.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/1.228, allocations: 80.31 kB / 1.478 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.228, allocations: 8 kB / 1.478 GB, free: 2.645 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/1.228, allocations: 12 kB / 1.478 GB, free: 2.633 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/1.228, allocations: 7.938 kB / 1.478 GB, free: 2.625 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.228, allocations: 4 kB / 1.478 GB, free: 2.621 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.23, allocations: 0.9408 MB / 1.479 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/1.23, allocations: 176.6 kB / 1.479 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.231, allocations: 15.98 kB / 1.479 GB, free: 1.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/1.231, allocations: 35.97 kB / 1.479 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.231, allocations: 51.81 kB / 1.479 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/1.231, allocations: 16 kB / 1.479 GB, free: 1.309 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004411/1.232, allocations: 346.8 kB / 1.479 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.232, allocations: 0 / 1.479 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006112/1.232, allocations: 155.9 kB / 1.479 GB, free: 0.8203 MB / 1.17 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.0004865/1.233, allocations: 206.6 kB / 1.48 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.234, allocations: 0.5723 MB / 1.48 GB, free: 16 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.234, allocations: 3.938 kB / 1.48 GB, free: 12 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007336/1.235, allocations: 278.9 kB / 1.48 GB, free: 15.74 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.236, allocations: 282.9 kB / 1.481 GB, free: 15.47 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/1.238, allocations: 1.064 MB / 1.482 GB, free: 14.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.239, allocations: 0.8626 MB / 1.483 GB, free: 13.45 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00043/1.239, allocations: 128.7 kB / 1.483 GB, free: 13.32 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/1.239, allocations: 47.42 kB / 1.483 GB, free: 13.27 MB / 1.186 GB Notification: Performance of SimCode: time 4.41e-07/1.239, allocations: 0 / 1.483 GB, free: 13.27 MB / 1.186 GB Notification: Performance of Templates: time 0.02128/1.261, allocations: 11.04 MB / 1.494 GB, free: 2.41 MB / 1.186 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 -s cvode -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_2/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: 10.188080133870244]