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.001598/0.001598, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001793/0.001793, allocations: 220.4 kB / 23 MB, free: 4.914 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.306/3.306, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002097/0.002097, allocations: 75.97 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3462, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2061/0.5523, allocations: 160.7 MB / 1.522 GB, free: 12.32 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007161/0.5595, allocations: 4.164 MB / 1.526 GB, free: 8.156 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.5602, allocations: 27.75 kB / 1.526 GB, free: 8.129 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.5614, allocations: 250.1 kB / 1.526 GB, free: 7.883 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.5644, allocations: 0.7658 MB / 1.527 GB, free: 7.113 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00486/0.5693, allocations: 1.551 MB / 1.528 GB, free: 5.562 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.5712, allocations: 1.25 MB / 1.529 GB, free: 4.309 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.5718, allocations: 373.7 kB / 1.53 GB, free: 3.934 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.5736, allocations: 0.8253 MB / 1.53 GB, free: 3.105 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.5742, allocations: 398.3 kB / 1.531 GB, free: 2.715 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.5743, allocations: 47.94 kB / 1.531 GB, free: 2.668 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.5768, allocations: 1.246 MB / 1.532 GB, free: 1.418 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.5771, allocations: 187.4 kB / 1.532 GB, free: 1.234 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.5774, allocations: 262.8 kB / 1.533 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.5795, allocations: 1.25 MB / 1.534 GB, free: 15.72 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.5795, allocations: 0 / 1.534 GB, free: 15.72 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5795, allocations: 0 / 1.534 GB, free: 15.72 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.5795, allocations: 4 kB / 1.534 GB, free: 15.71 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.001808/0.5813, allocations: 0.9617 MB / 1.535 GB, free: 14.71 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5814, allocations: 12.03 kB / 1.535 GB, free: 14.7 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.5834, allocations: 287.2 kB / 1.535 GB, free: 14.42 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.5843, allocations: 410.6 kB / 1.535 GB, free: 13.99 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.5843, allocations: 33 kB / 1.535 GB, free: 13.96 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.5844, allocations: 40 kB / 1.535 GB, free: 13.92 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5855, allocations: 0.5546 MB / 1.536 GB, free: 13.34 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5855, allocations: 0 / 1.536 GB, free: 13.34 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.5855, allocations: 16 kB / 1.536 GB, free: 13.32 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.5856, allocations: 19.88 kB / 1.536 GB, free: 13.3 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.5867, allocations: 463.5 kB / 1.536 GB, free: 12.84 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.5892, allocations: 1.679 MB / 1.538 GB, free: 11.11 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.5902, allocations: 390.4 kB / 1.539 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.5907, allocations: 221.3 kB / 1.539 GB, free: 10.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.5913, allocations: 87.91 kB / 1.539 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006703/0.5919, allocations: 306.4 kB / 1.539 GB, free: 10.1 MB / 1.232 GB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/0.5919, allocations: 0 / 1.539 GB, free: 10.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=37): time 0.001916/0.5939, allocations: 0.6734 MB / 1.54 GB, free: 9.418 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.5939, allocations: 59.39 kB / 1.54 GB, free: 9.348 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.5944, allocations: 393.8 kB / 1.54 GB, free: 8.953 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.5945, allocations: 33.7 kB / 1.54 GB, free: 8.914 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.5947, allocations: 272.5 kB / 1.54 GB, free: 8.645 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.5948, allocations: 138.8 kB / 1.541 GB, free: 8.508 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.595, allocations: 90.08 kB / 1.541 GB, free: 8.414 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.5952, allocations: 358.8 kB / 1.541 GB, free: 8.055 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.5957, allocations: 252.2 kB / 1.541 GB, free: 7.793 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.5964, allocations: 495.6 kB / 1.542 GB, free: 7.23 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.5975, allocations: 0.5496 MB / 1.542 GB, free: 6.629 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.5975, allocations: 4 kB / 1.542 GB, free: 6.625 MB / 1.232 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001408/0.5989, allocations: 0.6949 MB / 1.543 GB, free: 5.898 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.599, allocations: 63.41 kB / 1.543 GB, free: 5.824 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.599, allocations: 4 kB / 1.543 GB, free: 5.82 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.599, allocations: 4 kB / 1.543 GB, free: 5.816 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.5995, allocations: 95.88 kB / 1.543 GB, free: 5.723 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.5995, allocations: 11.92 kB / 1.543 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.6, allocations: 71.88 kB / 1.543 GB, free: 5.641 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.6001, allocations: 20.06 kB / 1.543 GB, free: 5.621 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.0002522/0.6003, allocations: 190.8 kB / 1.543 GB, free: 5.426 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.6004, allocations: 51.66 kB / 1.543 GB, free: 5.375 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.6017, allocations: 0.5403 MB / 1.544 GB, free: 4.824 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6017, allocations: 4 kB / 1.544 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6017, allocations: 0 / 1.544 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.6017, allocations: 3.984 kB / 1.544 GB, free: 4.816 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.6041, allocations: 1.21 MB / 1.545 GB, free: 3.527 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6041, allocations: 7.984 kB / 1.545 GB, free: 3.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.6046, allocations: 84.27 kB / 1.545 GB, free: 3.438 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.6046, allocations: 4 kB / 1.545 GB, free: 3.434 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.6046, allocations: 15.94 kB / 1.545 GB, free: 3.418 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.6046, allocations: 7.984 kB / 1.545 GB, free: 3.41 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.6046, allocations: 7.938 kB / 1.545 GB, free: 3.402 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.6064, allocations: 0.929 MB / 1.546 GB, free: 2.41 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.6066, allocations: 83.61 kB / 1.546 GB, free: 2.328 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.6067, allocations: 19.92 kB / 1.546 GB, free: 2.309 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.6071, allocations: 39.95 kB / 1.546 GB, free: 2.27 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.6073, allocations: 47.94 kB / 1.546 GB, free: 2.223 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.6073, allocations: 15.94 kB / 1.546 GB, free: 2.207 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003405/0.6076, allocations: 263.1 kB / 1.547 GB, free: 1.953 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6076, allocations: 0 / 1.547 GB, free: 1.953 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006706/0.6083, allocations: 163.7 kB / 1.547 GB, free: 1.793 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.0003796/0.6087, allocations: 183 kB / 1.547 GB, free: 1.605 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.61, allocations: 0.6226 MB / 1.548 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.61, allocations: 0 / 1.548 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.6106, allocations: 266 kB / 1.548 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6118, allocations: 209.8 kB / 1.548 GB, free: 496 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.6136, allocations: 1.072 MB / 1.549 GB, free: 15.33 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.6139, allocations: 270 kB / 1.549 GB, free: 15.04 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.614, allocations: 47.38 kB / 1.549 GB, free: 15 MB / 1.248 GB Notification: Performance of SimCode: time 3.31e-07/0.614, allocations: 0 / 1.549 GB, free: 15 MB / 1.248 GB Notification: Performance of Templates: time 0.01205/0.6261, allocations: 8.235 MB / 1.557 GB, free: 6.832 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/jenkins1/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: 12.994186633266509]