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.001326/0.001326, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001616/0.001616, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.123/3.123, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 177] 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.002138/0.002138, allocations: 61.75 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.396, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2208/0.6168, allocations: 160.7 MB / 1.483 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007833/0.6247, allocations: 4.162 MB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008056/0.6255, allocations: 31.69 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.6264, allocations: 258.1 kB / 1.488 GB, free: 12.1 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.6288, allocations: 0.7581 MB / 1.488 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.633, allocations: 1.546 MB / 1.49 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001935/0.635, allocations: 1.266 MB / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.6356, allocations: 361.6 kB / 1.491 GB, free: 8.16 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.6379, allocations: 0.8252 MB / 1.492 GB, free: 7.332 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006598/0.6385, allocations: 402.3 kB / 1.493 GB, free: 6.938 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.6386, allocations: 48 kB / 1.493 GB, free: 6.891 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.6415, allocations: 1.239 MB / 1.494 GB, free: 5.648 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.6418, allocations: 199.3 kB / 1.494 GB, free: 5.453 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.6421, allocations: 254.9 kB / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.6445, allocations: 1.254 MB / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6445, allocations: 0 / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6445, allocations: 0 / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.6445, allocations: 0 / 1.495 GB, free: 3.945 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.001886/0.6464, allocations: 0.9644 MB / 1.496 GB, free: 2.938 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.6464, allocations: 12.03 kB / 1.496 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.6484, allocations: 291.2 kB / 1.497 GB, free: 2.641 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.6493, allocations: 402.6 kB / 1.497 GB, free: 2.223 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.6493, allocations: 33 kB / 1.497 GB, free: 2.191 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.6494, allocations: 40 kB / 1.497 GB, free: 2.152 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6505, allocations: 0.5546 MB / 1.498 GB, free: 1.562 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.6506, allocations: 3.938 kB / 1.498 GB, free: 1.559 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.6506, allocations: 16 kB / 1.498 GB, free: 1.543 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.6506, allocations: 15.94 kB / 1.498 GB, free: 1.527 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.6517, allocations: 459.5 kB / 1.498 GB, free: 1.078 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.6544, allocations: 1.679 MB / 1.5 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.6554, allocations: 390.5 kB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.6559, allocations: 217.2 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/0.6565, allocations: 99.91 kB / 1.5 GB, free: 14.64 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.6572, allocations: 314.9 kB / 1.501 GB, free: 14.32 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.775e-06/0.6572, allocations: 0 / 1.501 GB, free: 14.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001945/0.6592, allocations: 0.6723 MB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.6592, allocations: 59.41 kB / 1.502 GB, free: 13.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.6597, allocations: 381.9 kB / 1.502 GB, free: 13.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.6598, allocations: 41.7 kB / 1.502 GB, free: 13.14 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.66, allocations: 280.4 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.6601, allocations: 126.9 kB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.6603, allocations: 94.11 kB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.6605, allocations: 354.8 kB / 1.503 GB, free: 12.28 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.6611, allocations: 252.2 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/0.6618, allocations: 0.4957 MB / 1.503 GB, free: 11.44 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.663, allocations: 0.5493 MB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.663, allocations: 0 / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001441/0.6644, allocations: 0.6909 MB / 1.505 GB, free: 10.12 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.6645, allocations: 63.39 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6645, allocations: 4 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.6645, allocations: 4.375 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.665, allocations: 103.8 kB / 1.505 GB, free: 9.934 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.665, allocations: 4 kB / 1.505 GB, free: 9.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.6655, allocations: 67.69 kB / 1.505 GB, free: 9.863 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.6656, allocations: 27.98 kB / 1.505 GB, free: 9.836 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.0002895/0.6659, allocations: 185.7 kB / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.666, allocations: 55.66 kB / 1.505 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.6673, allocations: 0.5338 MB / 1.506 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.6673, allocations: 4 kB / 1.506 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6673, allocations: 0 / 1.506 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6673, allocations: 0 / 1.506 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.6698, allocations: 1.225 MB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6698, allocations: 0 / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.6702, allocations: 79.88 kB / 1.507 GB, free: 7.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.6702, allocations: 4 kB / 1.507 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.6702, allocations: 15.94 kB / 1.507 GB, free: 7.641 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.6702, allocations: 11.88 kB / 1.507 GB, free: 7.629 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6702, allocations: 4 kB / 1.507 GB, free: 7.625 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.6724, allocations: 0.9216 MB / 1.508 GB, free: 6.641 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.6726, allocations: 91.66 kB / 1.508 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.6727, allocations: 19.92 kB / 1.508 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.6731, allocations: 31.97 kB / 1.508 GB, free: 6.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.6732, allocations: 47.86 kB / 1.508 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.6733, allocations: 19.94 kB / 1.508 GB, free: 6.434 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003681/0.6737, allocations: 271.1 kB / 1.508 GB, free: 6.168 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6737, allocations: 0 / 1.508 GB, free: 6.168 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006698/0.6743, allocations: 155.7 kB / 1.508 GB, free: 6.016 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.000359/0.6747, allocations: 191 kB / 1.509 GB, free: 5.82 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.676, allocations: 0.6191 MB / 1.509 GB, free: 5.164 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.676, allocations: 4.25 kB / 1.509 GB, free: 5.16 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.6767, allocations: 249.9 kB / 1.51 GB, free: 4.918 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6778, allocations: 211.3 kB / 1.51 GB, free: 4.719 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.6801, allocations: 1.085 MB / 1.511 GB, free: 3.555 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.6804, allocations: 262 kB / 1.511 GB, free: 3.273 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.6806, allocations: 47.42 kB / 1.511 GB, free: 3.227 MB / 1.201 GB Notification: Performance of SimCode: time 9.22e-07/0.6806, allocations: 0 / 1.511 GB, free: 3.227 MB / 1.201 GB Notification: Performance of Templates: time 0.01412/0.6947, allocations: 8.244 MB / 1.519 GB, free: 11.06 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 -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: 12.856099078897387]