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.001325/0.001325, allocations: 104 kB / 16.45 MB, free: 6.449 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.001706/0.001706, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.072/3.072, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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.002025/0.002025, allocations: 72.56 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2183/0.5356, allocations: 185.4 MB / 1.502 GB, free: 9.219 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007248/0.5429, allocations: 4.477 MB / 1.506 GB, free: 4.734 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008855/0.5437, allocations: 27.75 kB / 1.506 GB, free: 4.707 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009208/0.5447, allocations: 250.1 kB / 1.506 GB, free: 4.461 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.5474, allocations: 0.7932 MB / 1.507 GB, free: 3.664 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.5528, allocations: 1.542 MB / 1.509 GB, free: 2.121 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.5551, allocations: 1.246 MB / 1.51 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007269/0.5559, allocations: 397.1 kB / 1.51 GB, free: 488 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.5581, allocations: 0.8174 MB / 1.511 GB, free: 15.66 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.5587, allocations: 414.3 kB / 1.512 GB, free: 15.25 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.5588, allocations: 47.94 kB / 1.512 GB, free: 15.2 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.5622, allocations: 1.637 MB / 1.513 GB, free: 13.56 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.5625, allocations: 187.4 kB / 1.513 GB, free: 13.38 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.563, allocations: 302.5 kB / 1.514 GB, free: 13.08 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.5656, allocations: 1.308 MB / 1.515 GB, free: 11.77 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5656, allocations: 0 / 1.515 GB, free: 11.77 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5656, allocations: 0 / 1.515 GB, free: 11.77 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.5656, allocations: 0 / 1.515 GB, free: 11.77 MB / 1.217 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.001953/0.5675, allocations: 1.044 MB / 1.516 GB, free: 10.66 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.5676, allocations: 11.98 kB / 1.516 GB, free: 10.65 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.5677, allocations: 82.52 kB / 1.516 GB, free: 10.56 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.5698, allocations: 291.2 kB / 1.516 GB, free: 10.28 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/0.5707, allocations: 473.8 kB / 1.517 GB, free: 9.773 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.5708, allocations: 36.98 kB / 1.517 GB, free: 9.734 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.5709, allocations: 47.94 kB / 1.517 GB, free: 9.688 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5721, allocations: 0.5468 MB / 1.517 GB, free: 9.109 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5721, allocations: 0 / 1.517 GB, free: 9.109 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.5721, allocations: 23.94 kB / 1.517 GB, free: 9.086 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.5721, allocations: 12 kB / 1.517 GB, free: 9.074 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.5732, allocations: 459.5 kB / 1.518 GB, free: 8.625 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.5762, allocations: 2.12 MB / 1.52 GB, free: 6.375 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.5773, allocations: 386.4 kB / 1.52 GB, free: 5.988 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.5778, allocations: 225.2 kB / 1.521 GB, free: 5.766 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.5785, allocations: 392.3 kB / 1.521 GB, free: 5.309 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000667/0.5792, allocations: 294.7 kB / 1.521 GB, free: 5.008 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 2.314e-06/0.5792, allocations: 0 / 1.521 GB, free: 5.008 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.00202/0.5812, allocations: 0.6888 MB / 1.522 GB, free: 4.312 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.5813, allocations: 63.39 kB / 1.522 GB, free: 4.238 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.5819, allocations: 494 kB / 1.522 GB, free: 3.742 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.582, allocations: 41.7 kB / 1.522 GB, free: 3.695 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.5822, allocations: 260.5 kB / 1.523 GB, free: 3.438 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5824, allocations: 130.9 kB / 1.523 GB, free: 3.309 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.5826, allocations: 94.06 kB / 1.523 GB, free: 3.211 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5828, allocations: 362.8 kB / 1.523 GB, free: 2.848 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.5833, allocations: 196.8 kB / 1.523 GB, free: 2.652 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.5839, allocations: 327.9 kB / 1.524 GB, free: 2.289 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.585, allocations: 0.5372 MB / 1.524 GB, free: 1.699 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.585, allocations: 7.938 kB / 1.524 GB, free: 1.691 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001458/0.5865, allocations: 0.6449 MB / 1.525 GB, free: 1.027 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.809e-05/0.5866, allocations: 63.39 kB / 1.525 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5866, allocations: 4 kB / 1.525 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5866, allocations: 4 kB / 1.525 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.5871, allocations: 99.81 kB / 1.525 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5871, allocations: 4 kB / 1.525 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.5876, allocations: 83.73 kB / 1.525 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.5877, allocations: 23.98 kB / 1.525 GB, free: 0.7383 MB / 1.217 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.0002826/0.588, allocations: 190.2 kB / 1.525 GB, free: 0.543 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.5881, allocations: 63.61 kB / 1.525 GB, free: 492 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.5894, allocations: 0.5334 MB / 1.526 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5894, allocations: 4 kB / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5894, allocations: 0 / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5894, allocations: 0 / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.5919, allocations: 1.358 MB / 1.527 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5919, allocations: 4 kB / 1.527 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.5923, allocations: 75.81 kB / 1.527 GB, free: 14.4 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.5923, allocations: 8.438 kB / 1.527 GB, free: 14.39 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.5924, allocations: 16.06 kB / 1.527 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5924, allocations: 8 kB / 1.527 GB, free: 14.37 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5924, allocations: 7.938 kB / 1.527 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.5942, allocations: 0.9408 MB / 1.528 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.5945, allocations: 172.6 kB / 1.528 GB, free: 13.17 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.5945, allocations: 12 kB / 1.528 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.595, allocations: 40.02 kB / 1.528 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5951, allocations: 43.89 kB / 1.529 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.5952, allocations: 16 kB / 1.529 GB, free: 13.06 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004678/0.5956, allocations: 350.8 kB / 1.529 GB, free: 12.72 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5956, allocations: 4 kB / 1.529 GB, free: 12.71 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006045/0.5962, allocations: 147.9 kB / 1.529 GB, free: 12.57 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.002485/0.5987, allocations: 1.573 MB / 1.531 GB, free: 10.93 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.6, allocations: 0.5608 MB / 1.531 GB, free: 10.34 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6001, allocations: 0.75 kB / 1.531 GB, free: 10.34 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007064/0.6008, allocations: 275.6 kB / 1.531 GB, free: 10.07 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.6022, allocations: 285.6 kB / 1.532 GB, free: 9.801 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008942/0.6112, allocations: 5.008 MB / 1.537 GB, free: 4.531 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.6118, allocations: 0.8704 MB / 1.537 GB, free: 3.633 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005172/0.6123, allocations: 128.7 kB / 1.538 GB, free: 3.504 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.6126, allocations: 175.4 kB / 1.538 GB, free: 3.332 MB / 1.232 GB Notification: Performance of SimCode: time 7.21e-07/0.6126, allocations: 0 / 1.538 GB, free: 3.332 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05069/0.6633, allocations: 15.93 MB / 1.553 GB, free: 3.672 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/9.291, allocations: 1.875 kB / 1.553 GB, free: 3.672 MB / 1.248 GB " [Timeout remaining time 291] (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: 15.694984229980037]