Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00168/0.00168, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001516/0.001516, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.356/3.356, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002095/0.002095, allocations: 74.47 kB / 1.186 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4362, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2315/0.6677, allocations: 160.6 MB / 1.521 GB, free: 12.28 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0081/0.6758, allocations: 4.173 MB / 1.525 GB, free: 8.102 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009814/0.6767, allocations: 31.69 kB / 1.525 GB, free: 8.07 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.678, allocations: 258.1 kB / 1.525 GB, free: 7.816 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.6808, allocations: 0.762 MB / 1.526 GB, free: 7.051 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.6857, allocations: 1.544 MB / 1.527 GB, free: 5.504 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.6876, allocations: 1.262 MB / 1.529 GB, free: 4.238 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006198/0.6883, allocations: 353.8 kB / 1.529 GB, free: 3.883 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.6902, allocations: 0.8253 MB / 1.53 GB, free: 3.055 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.6907, allocations: 402.3 kB / 1.53 GB, free: 2.66 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.164e-05/0.6908, allocations: 44 kB / 1.53 GB, free: 2.617 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.6937, allocations: 1.254 MB / 1.531 GB, free: 1.359 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.6939, allocations: 191.4 kB / 1.532 GB, free: 1.172 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.6943, allocations: 250.8 kB / 1.532 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.6963, allocations: 1.258 MB / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6964, allocations: 0 / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6964, allocations: 0 / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.6964, allocations: 0 / 1.533 GB, free: 15.66 MB / 1.232 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.001927/0.6983, allocations: 0.9643 MB / 1.534 GB, free: 14.65 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6984, allocations: 12.03 kB / 1.534 GB, free: 14.64 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.7003, allocations: 283.3 kB / 1.534 GB, free: 14.36 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.7012, allocations: 410.5 kB / 1.535 GB, free: 13.94 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.7013, allocations: 33 kB / 1.535 GB, free: 13.91 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.7014, allocations: 48 kB / 1.535 GB, free: 13.86 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.7025, allocations: 0.5468 MB / 1.535 GB, free: 13.28 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7025, allocations: 3.938 kB / 1.535 GB, free: 13.28 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.7025, allocations: 20 kB / 1.535 GB, free: 13.26 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.7025, allocations: 15.92 kB / 1.535 GB, free: 13.24 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.7036, allocations: 459.5 kB / 1.536 GB, free: 12.79 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.7062, allocations: 1.682 MB / 1.537 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/0.7072, allocations: 388.4 kB / 1.538 GB, free: 10.66 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.7077, allocations: 217.3 kB / 1.538 GB, free: 10.45 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.7082, allocations: 91.91 kB / 1.538 GB, free: 10.36 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000662/0.7089, allocations: 302.4 kB / 1.538 GB, free: 10.05 MB / 1.232 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.7089, allocations: 4 kB / 1.538 GB, free: 10.04 MB / 1.232 GB Notification: Performance of matching and sorting (n=37): time 0.001833/0.7107, allocations: 0.6696 MB / 1.539 GB, free: 9.367 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.7108, allocations: 67.39 kB / 1.539 GB, free: 9.289 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.7113, allocations: 389.8 kB / 1.539 GB, free: 8.898 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.7113, allocations: 33.7 kB / 1.539 GB, free: 8.859 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.7116, allocations: 268.5 kB / 1.54 GB, free: 8.594 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.7117, allocations: 138.8 kB / 1.54 GB, free: 8.457 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.7119, allocations: 90.08 kB / 1.54 GB, free: 8.363 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.7121, allocations: 358.8 kB / 1.54 GB, free: 8.004 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.7126, allocations: 256.1 kB / 1.541 GB, free: 7.738 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.7133, allocations: 0.4939 MB / 1.541 GB, free: 7.168 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.7144, allocations: 0.5457 MB / 1.542 GB, free: 6.57 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7144, allocations: 4 kB / 1.542 GB, free: 6.566 MB / 1.232 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001356/0.7157, allocations: 0.6913 MB / 1.542 GB, free: 5.844 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.7158, allocations: 71.45 kB / 1.542 GB, free: 5.762 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7158, allocations: 4 kB / 1.542 GB, free: 5.758 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.7158, allocations: 4 kB / 1.542 GB, free: 5.754 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.7163, allocations: 99.81 kB / 1.542 GB, free: 5.656 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7163, allocations: 4 kB / 1.542 GB, free: 5.652 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.7168, allocations: 63.69 kB / 1.542 GB, free: 5.59 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.7169, allocations: 27.98 kB / 1.542 GB, free: 5.562 MB / 1.232 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.0002708/0.7171, allocations: 196.8 kB / 1.543 GB, free: 5.363 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.7172, allocations: 51.64 kB / 1.543 GB, free: 5.312 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.7184, allocations: 0.5287 MB / 1.543 GB, free: 4.773 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7184, allocations: 4 kB / 1.543 GB, free: 4.77 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.7185, allocations: 11.98 kB / 1.543 GB, free: 4.758 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7185, allocations: 0 / 1.543 GB, free: 4.758 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.7208, allocations: 1.212 MB / 1.544 GB, free: 3.465 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7208, allocations: 4 kB / 1.544 GB, free: 3.461 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.7212, allocations: 75.89 kB / 1.544 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.7212, allocations: 8.422 kB / 1.544 GB, free: 3.379 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.7212, allocations: 15.94 kB / 1.545 GB, free: 3.363 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.7212, allocations: 11.94 kB / 1.545 GB, free: 3.352 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7212, allocations: 4 kB / 1.545 GB, free: 3.348 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.723, allocations: 0.9329 MB / 1.545 GB, free: 2.352 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.7232, allocations: 83.61 kB / 1.546 GB, free: 2.27 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.7233, allocations: 15.94 kB / 1.546 GB, free: 2.254 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.7237, allocations: 39.95 kB / 1.546 GB, free: 2.215 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7239, allocations: 43.88 kB / 1.546 GB, free: 2.172 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.7239, allocations: 19.92 kB / 1.546 GB, free: 2.152 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003442/0.7242, allocations: 259.2 kB / 1.546 GB, free: 1.902 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7242, allocations: 4 kB / 1.546 GB, free: 1.898 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006591/0.7249, allocations: 167.7 kB / 1.546 GB, free: 1.734 MB / 1.232 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.0003935/0.7253, allocations: 194.9 kB / 1.546 GB, free: 1.535 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.7266, allocations: 0.6231 MB / 1.547 GB, free: 0.875 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7266, allocations: 0 / 1.547 GB, free: 0.875 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.7272, allocations: 269.8 kB / 1.547 GB, free: 0.6133 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7283, allocations: 203.3 kB / 1.547 GB, free: 432 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.7305, allocations: 1.049 MB / 1.548 GB, free: 15.3 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.7308, allocations: 270 kB / 1.549 GB, free: 15.01 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000404/0.7312, allocations: 104.1 kB / 1.549 GB, free: 14.91 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.7313, allocations: 43.42 kB / 1.549 GB, free: 14.87 MB / 1.248 GB Notification: Performance of SimCode: time 3.8e-07/0.7313, allocations: 0 / 1.549 GB, free: 14.87 MB / 1.248 GB Notification: Performance of Templates: time 0.01836/0.7497, allocations: 9.878 MB / 1.558 GB, free: 5.203 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.115483412519097]