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.001285/0.001285, 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.001433/0.001433, allocations: 209.8 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.382/1.382, 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 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.02/3.02, allocations: 0.4892 GB / 0.7944 GB, free: 35.51 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_12_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.001973/0.001973, allocations: 65.22 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2061/0.5407, allocations: 160.7 MB / 1.482 GB, free: 1.105 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006606/0.5473, allocations: 4.173 MB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.5479, allocations: 27.75 kB / 1.486 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.5486, allocations: 254.1 kB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.5507, allocations: 0.7659 MB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.5544, allocations: 1.541 MB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.556, allocations: 1.258 MB / 1.49 GB, free: 9.078 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.5567, allocations: 361.6 kB / 1.49 GB, free: 8.715 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.5584, allocations: 0.8331 MB / 1.491 GB, free: 7.879 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006847/0.5591, allocations: 402.2 kB / 1.491 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.5592, allocations: 44 kB / 1.491 GB, free: 7.441 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.5616, allocations: 1.246 MB / 1.493 GB, free: 6.191 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.5619, allocations: 191.4 kB / 1.493 GB, free: 6.004 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.5623, allocations: 254.8 kB / 1.493 GB, free: 5.754 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.5648, allocations: 1.25 MB / 1.494 GB, free: 4.5 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5648, allocations: 4 kB / 1.494 GB, free: 4.496 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5648, allocations: 4 kB / 1.494 GB, free: 4.492 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.5648, allocations: 0 / 1.494 GB, free: 4.492 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.001955/0.5668, allocations: 0.9604 MB / 1.495 GB, free: 3.488 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5668, allocations: 8.031 kB / 1.495 GB, free: 3.48 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5669, allocations: 90.52 kB / 1.495 GB, free: 3.383 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.569, allocations: 291.2 kB / 1.496 GB, free: 3.098 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.5699, allocations: 402.6 kB / 1.496 GB, free: 2.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.57, allocations: 37 kB / 1.496 GB, free: 2.645 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.65e-05/0.5701, allocations: 40 kB / 1.496 GB, free: 2.605 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.5712, allocations: 0.5468 MB / 1.497 GB, free: 2.023 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5712, allocations: 0 / 1.497 GB, free: 2.023 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.5713, allocations: 23.92 kB / 1.497 GB, free: 2 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.5713, allocations: 19.98 kB / 1.497 GB, free: 1.98 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.5724, allocations: 451.6 kB / 1.497 GB, free: 1.539 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/0.5751, allocations: 1.772 MB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.5761, allocations: 390.4 kB / 1.499 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.5766, allocations: 209.3 kB / 1.499 GB, free: 15.1 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005482/0.5771, allocations: 99.89 kB / 1.499 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006349/0.5777, allocations: 299.1 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/0.5777, allocations: 0 / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.00184/0.5796, allocations: 0.6917 MB / 1.5 GB, free: 14 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.5796, allocations: 63.39 kB / 1.5 GB, free: 13.92 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.5803, allocations: 498 kB / 1.501 GB, free: 13.42 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.5804, allocations: 37.7 kB / 1.501 GB, free: 13.38 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.5806, allocations: 264.4 kB / 1.501 GB, free: 13.12 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.5807, allocations: 134.8 kB / 1.501 GB, free: 12.98 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.5809, allocations: 94.12 kB / 1.501 GB, free: 12.89 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.581, allocations: 362.8 kB / 1.502 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.5816, allocations: 256.2 kB / 1.502 GB, free: 12.26 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006871/0.5823, allocations: 495.6 kB / 1.502 GB, free: 11.69 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5833, allocations: 0.5532 MB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.5833, allocations: 3.938 kB / 1.503 GB, free: 11.08 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00138/0.5847, allocations: 0.7028 MB / 1.504 GB, free: 10.35 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.5848, allocations: 63.39 kB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5848, allocations: 4 kB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5848, allocations: 7.938 kB / 1.504 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.5853, allocations: 95.88 kB / 1.504 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5854, allocations: 4.25 kB / 1.504 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.5859, allocations: 83.58 kB / 1.504 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.5859, allocations: 23.98 kB / 1.504 GB, free: 10.06 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.0002664/0.5862, allocations: 199.1 kB / 1.504 GB, free: 9.855 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.5863, allocations: 55.62 kB / 1.504 GB, free: 9.801 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.5876, allocations: 0.5459 MB / 1.505 GB, free: 9.242 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.5876, allocations: 4 kB / 1.505 GB, free: 9.238 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5876, allocations: 0 / 1.505 GB, free: 9.238 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5876, allocations: 0 / 1.505 GB, free: 9.238 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.5901, allocations: 1.264 MB / 1.506 GB, free: 7.883 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5901, allocations: 8.031 kB / 1.506 GB, free: 7.875 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.5905, allocations: 75.88 kB / 1.506 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.5905, allocations: 8 kB / 1.506 GB, free: 7.793 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.5905, allocations: 8 kB / 1.506 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.5905, allocations: 8 kB / 1.506 GB, free: 7.777 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5905, allocations: 7.938 kB / 1.506 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5924, allocations: 0.9368 MB / 1.507 GB, free: 6.77 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.5926, allocations: 99.52 kB / 1.507 GB, free: 6.672 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.5927, allocations: 11.98 kB / 1.507 GB, free: 6.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.5932, allocations: 40.02 kB / 1.507 GB, free: 6.621 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.5933, allocations: 51.81 kB / 1.507 GB, free: 6.57 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.5933, allocations: 16 kB / 1.507 GB, free: 6.555 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004776/0.5938, allocations: 350.8 kB / 1.508 GB, free: 6.215 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5938, allocations: 0 / 1.508 GB, free: 6.215 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006667/0.5945, allocations: 151.8 kB / 1.508 GB, free: 6.066 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.002546/0.597, allocations: 1.564 MB / 1.509 GB, free: 4.434 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.5983, allocations: 0.6152 MB / 1.51 GB, free: 3.781 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.5983, allocations: 4 kB / 1.51 GB, free: 3.777 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/0.599, allocations: 269.2 kB / 1.51 GB, free: 3.516 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.6004, allocations: 291 kB / 1.51 GB, free: 3.238 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0084/0.6088, allocations: 5.237 MB / 1.516 GB, free: 13.69 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.609, allocations: 270.1 kB / 1.516 GB, free: 13.4 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004765/0.6095, allocations: 124.7 kB / 1.516 GB, free: 13.28 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.6098, allocations: 179.4 kB / 1.516 GB, free: 13.1 MB / 1.217 GB Notification: Performance of SimCode: time 5.72e-07/0.6098, allocations: 0 / 1.516 GB, free: 13.1 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07026/0.6801, allocations: 17.65 MB / 1.533 GB, free: 11.87 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.95, allocations: 4.062 kB / 1.533 GB, free: 11.87 MB / 1.232 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/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] "Error: Could not read variable masFloRat.T in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.T from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable temSteSta.T in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable temSteSta.T from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable masFloRat.ports[1].m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.ports[1].m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable senRelTem.T_rel in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable senRelTem.T_rel from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.268295778892934]