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.001607/0.001607, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002053/0.002053, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 8.02 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.802/2.802, allocations: 476.7 MB / 0.7707 GB, free: 4.289 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [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.002093/0.002093, allocations: 73 kB / 1.117 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 169.9 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2189/0.5553, allocations: 185.6 MB / 1.465 GB, free: 9.488 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007821/0.5631, allocations: 4.506 MB / 1.469 GB, free: 4.973 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.5639, allocations: 27.75 kB / 1.469 GB, free: 4.945 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008482/0.5647, allocations: 250.1 kB / 1.469 GB, free: 4.699 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.5669, allocations: 0.8048 MB / 1.47 GB, free: 3.887 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.5709, allocations: 1.605 MB / 1.472 GB, free: 2.281 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.573, allocations: 1.27 MB / 1.473 GB, free: 1.008 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.5738, allocations: 353.8 kB / 1.473 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.5752, allocations: 0.6033 MB / 1.474 GB, free: 48 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.5758, allocations: 430.4 kB / 1.474 GB, free: 15.62 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.5759, allocations: 44 kB / 1.474 GB, free: 15.58 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.5799, allocations: 1.675 MB / 1.476 GB, free: 13.9 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.5802, allocations: 199.3 kB / 1.476 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.5807, allocations: 310.5 kB / 1.476 GB, free: 13.4 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.5833, allocations: 1.308 MB / 1.478 GB, free: 12.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5833, allocations: 0 / 1.478 GB, free: 12.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5833, allocations: 4 kB / 1.478 GB, free: 12.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.5834, allocations: 0 / 1.478 GB, free: 12.09 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.002137/0.5855, allocations: 0.9644 MB / 1.479 GB, free: 11.08 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.5856, allocations: 8.031 kB / 1.479 GB, free: 11.07 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.5857, allocations: 86.45 kB / 1.479 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.5878, allocations: 287.2 kB / 1.479 GB, free: 10.7 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.5887, allocations: 402.6 kB / 1.479 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.5888, allocations: 36.98 kB / 1.479 GB, free: 10.24 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.5889, allocations: 40 kB / 1.479 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.59, allocations: 0.5468 MB / 1.48 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.59, allocations: 3.938 kB / 1.48 GB, free: 9.621 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.59, allocations: 31.86 kB / 1.48 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.59, allocations: 12 kB / 1.48 GB, free: 9.578 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.5911, allocations: 455.5 kB / 1.48 GB, free: 9.129 MB / 1.186 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.002929/0.594, allocations: 2.074 MB / 1.483 GB, free: 6.93 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.595, allocations: 390.4 kB / 1.483 GB, free: 6.539 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.5955, allocations: 216.7 kB / 1.483 GB, free: 6.324 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005932/0.5961, allocations: 88.5 kB / 1.483 GB, free: 6.238 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006439/0.5967, allocations: 296.4 kB / 1.483 GB, free: 5.938 MB / 1.186 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.5967, allocations: 4 kB / 1.483 GB, free: 5.934 MB / 1.186 GB Notification: Performance of matching and sorting (n=37): time 0.001882/0.5986, allocations: 0.6837 MB / 1.484 GB, free: 5.242 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.5987, allocations: 67.39 kB / 1.484 GB, free: 5.164 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.5994, allocations: 494 kB / 1.485 GB, free: 4.668 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.5994, allocations: 37.7 kB / 1.485 GB, free: 4.625 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.5997, allocations: 260.5 kB / 1.485 GB, free: 4.367 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.5998, allocations: 130.9 kB / 1.485 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.6, allocations: 94.06 kB / 1.485 GB, free: 4.141 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.6001, allocations: 370.7 kB / 1.486 GB, free: 3.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.6006, allocations: 200.7 kB / 1.486 GB, free: 3.574 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.6013, allocations: 315.7 kB / 1.486 GB, free: 3.23 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6023, allocations: 0.5487 MB / 1.487 GB, free: 2.629 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6023, allocations: 3.938 kB / 1.487 GB, free: 2.625 MB / 1.186 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001384/0.6037, allocations: 0.6445 MB / 1.487 GB, free: 1.961 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.6038, allocations: 63.39 kB / 1.487 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6038, allocations: 4 kB / 1.487 GB, free: 1.883 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6038, allocations: 4 kB / 1.487 GB, free: 1.879 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.6043, allocations: 104.2 kB / 1.487 GB, free: 1.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.6043, allocations: 7.938 kB / 1.487 GB, free: 1.77 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.6049, allocations: 79.56 kB / 1.487 GB, free: 1.691 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.6049, allocations: 27.98 kB / 1.487 GB, free: 1.664 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.0002791/0.6052, allocations: 192.5 kB / 1.488 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6053, allocations: 67.61 kB / 1.488 GB, free: 1.402 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.6066, allocations: 0.5255 MB / 1.488 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6066, allocations: 4 kB / 1.488 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6066, allocations: 0 / 1.488 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6066, allocations: 0 / 1.488 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.6091, allocations: 1.339 MB / 1.49 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6091, allocations: 8.062 kB / 1.49 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.6095, allocations: 71.83 kB / 1.49 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.6095, allocations: 8 kB / 1.49 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.6096, allocations: 16.06 kB / 1.49 GB, free: 15.33 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.6096, allocations: 11.98 kB / 1.49 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6096, allocations: 7.984 kB / 1.49 GB, free: 15.31 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6114, allocations: 0.9348 MB / 1.491 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.6117, allocations: 103.4 kB / 1.491 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.655e-05/0.6118, allocations: 8 kB / 1.491 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.6123, allocations: 35.95 kB / 1.491 GB, free: 14.17 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.6124, allocations: 51.94 kB / 1.491 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.6124, allocations: 15.98 kB / 1.491 GB, free: 14.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004743/0.6129, allocations: 346.8 kB / 1.491 GB, free: 13.77 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6129, allocations: 0 / 1.491 GB, free: 13.77 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006323/0.6135, allocations: 147.9 kB / 1.491 GB, free: 13.62 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.002425/0.616, allocations: 1.571 MB / 1.493 GB, free: 11.99 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.6173, allocations: 0.5652 MB / 1.493 GB, free: 11.4 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6173, allocations: 0 / 1.493 GB, free: 11.4 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.6179, allocations: 268.7 kB / 1.494 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.6194, allocations: 293.1 kB / 1.494 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008222/0.6277, allocations: 5.016 MB / 1.499 GB, free: 5.586 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.6282, allocations: 0.8665 MB / 1.5 GB, free: 4.691 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005141/0.6287, allocations: 128.7 kB / 1.5 GB, free: 4.562 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.629, allocations: 175.4 kB / 1.5 GB, free: 4.391 MB / 1.201 GB Notification: Performance of SimCode: time 1.452e-06/0.629, allocations: 0 / 1.5 GB, free: 4.391 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/0.6828, allocations: 16.32 MB / 1.516 GB, free: 4.383 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.67, allocations: 4 kB / 1.516 GB, free: 4.379 MB / 1.217 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/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] "Error: Could not read variable masFloRat.T in file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.T from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable temSteSta.T in file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable temSteSta.T from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable masFloRat.ports[1].m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.ports[1].m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable senRelTem.T_rel in file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable senRelTem.T_rel from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.430325326000457]