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.001501/0.001501, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001653/0.001653, allocations: 219.6 kB / 22.25 MB, free: 5.121 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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 2.865/2.865, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.001908/0.001908, allocations: 68.36 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1936/0.4716, allocations: 185.7 MB / 1.507 GB, free: 7.59 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005906/0.4775, allocations: 4.508 MB / 1.512 GB, free: 3.074 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.4779, allocations: 27.75 kB / 1.512 GB, free: 3.047 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.4785, allocations: 246.1 kB / 1.512 GB, free: 2.805 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.4801, allocations: 0.797 MB / 1.513 GB, free: 2.004 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.4833, allocations: 1.606 MB / 1.514 GB, free: 408 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4846, allocations: 1.262 MB / 1.515 GB, free: 15.13 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.4852, allocations: 365.6 kB / 1.516 GB, free: 14.77 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.4866, allocations: 0.8291 MB / 1.517 GB, free: 13.93 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.4871, allocations: 422.3 kB / 1.517 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.4872, allocations: 48 kB / 1.517 GB, free: 13.47 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.4898, allocations: 1.664 MB / 1.519 GB, free: 11.8 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.4901, allocations: 191.4 kB / 1.519 GB, free: 11.62 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.4904, allocations: 306.5 kB / 1.519 GB, free: 11.32 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.4921, allocations: 1.304 MB / 1.52 GB, free: 10.01 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4921, allocations: 0 / 1.52 GB, free: 10.01 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4921, allocations: 0 / 1.52 GB, free: 10.01 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4921, allocations: 4 kB / 1.52 GB, free: 10 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.001711/0.4938, allocations: 0.9682 MB / 1.521 GB, free: 8.992 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4939, allocations: 8.031 kB / 1.521 GB, free: 8.984 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.494, allocations: 82.52 kB / 1.521 GB, free: 8.895 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.4958, allocations: 291.2 kB / 1.522 GB, free: 8.609 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.4966, allocations: 410.5 kB / 1.522 GB, free: 8.18 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.4966, allocations: 44.92 kB / 1.522 GB, free: 8.137 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.4967, allocations: 40 kB / 1.522 GB, free: 8.098 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.4977, allocations: 0.5468 MB / 1.523 GB, free: 7.52 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4977, allocations: 0 / 1.523 GB, free: 7.52 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.4977, allocations: 19.94 kB / 1.523 GB, free: 7.5 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4977, allocations: 15.98 kB / 1.523 GB, free: 7.484 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.4987, allocations: 455.6 kB / 1.523 GB, free: 7.039 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.5014, allocations: 2.07 MB / 1.525 GB, free: 4.848 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.5023, allocations: 390.5 kB / 1.526 GB, free: 4.457 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.5028, allocations: 225.2 kB / 1.526 GB, free: 4.234 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000515/0.5033, allocations: 87.91 kB / 1.526 GB, free: 4.148 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006014/0.5039, allocations: 303.1 kB / 1.526 GB, free: 3.84 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.5039, allocations: 0 / 1.526 GB, free: 3.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.001726/0.5056, allocations: 0.6839 MB / 1.527 GB, free: 3.148 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.5057, allocations: 59.34 kB / 1.527 GB, free: 3.078 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.5062, allocations: 498.1 kB / 1.527 GB, free: 2.578 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.5063, allocations: 33.7 kB / 1.527 GB, free: 2.539 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.5065, allocations: 268.5 kB / 1.528 GB, free: 2.273 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.5066, allocations: 130.9 kB / 1.528 GB, free: 2.145 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.5068, allocations: 94.08 kB / 1.528 GB, free: 2.047 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5069, allocations: 362.8 kB / 1.528 GB, free: 1.684 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.5074, allocations: 196.8 kB / 1.528 GB, free: 1.488 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.5079, allocations: 319.5 kB / 1.529 GB, free: 1.137 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/0.5089, allocations: 0.5456 MB / 1.529 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5089, allocations: 7.938 kB / 1.529 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00123/0.5102, allocations: 0.6411 MB / 1.53 GB, free: 15.87 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.5102, allocations: 67.39 kB / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5102, allocations: 0 / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.5102, allocations: 8 kB / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.5107, allocations: 95.81 kB / 1.53 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5107, allocations: 8 kB / 1.53 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.5112, allocations: 71.58 kB / 1.53 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.5112, allocations: 28.03 kB / 1.53 GB, free: 15.59 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.0002317/0.5114, allocations: 198.9 kB / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.5115, allocations: 55.62 kB / 1.53 GB, free: 15.33 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.5127, allocations: 0.5421 MB / 1.531 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5127, allocations: 4 kB / 1.531 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5127, allocations: 7.938 kB / 1.531 GB, free: 14.76 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5127, allocations: 3.938 kB / 1.531 GB, free: 14.76 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.515, allocations: 1.324 MB / 1.532 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.515, allocations: 4 kB / 1.532 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.5154, allocations: 75.88 kB / 1.532 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.5154, allocations: 4 kB / 1.532 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.5154, allocations: 12.44 kB / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.5154, allocations: 11.98 kB / 1.532 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5154, allocations: 7.938 kB / 1.532 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.517, allocations: 0.9385 MB / 1.533 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.5172, allocations: 95.55 kB / 1.533 GB, free: 12.13 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.5173, allocations: 16 kB / 1.533 GB, free: 12.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.5177, allocations: 40.02 kB / 1.533 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5178, allocations: 43.88 kB / 1.533 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.5179, allocations: 27.91 kB / 1.534 GB, free: 12.01 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004064/0.5183, allocations: 342.8 kB / 1.534 GB, free: 11.68 MB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.5183, allocations: 0 / 1.534 GB, free: 11.68 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005096/0.5188, allocations: 151.9 kB / 1.534 GB, free: 11.53 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.002105/0.5209, allocations: 1.56 MB / 1.536 GB, free: 9.898 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.522, allocations: 0.5572 MB / 1.536 GB, free: 9.316 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.522, allocations: 8.75 kB / 1.536 GB, free: 9.309 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.5227, allocations: 271.8 kB / 1.536 GB, free: 9.043 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.5239, allocations: 301.3 kB / 1.537 GB, free: 8.758 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007164/0.5311, allocations: 5.016 MB / 1.541 GB, free: 3.484 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.5316, allocations: 0.8665 MB / 1.542 GB, free: 2.59 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004153/0.532, allocations: 124.7 kB / 1.542 GB, free: 2.465 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.5323, allocations: 175.4 kB / 1.543 GB, free: 2.293 MB / 1.232 GB Notification: Performance of SimCode: time 5.11e-07/0.5323, allocations: 0 / 1.543 GB, free: 2.293 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04554/0.5778, allocations: 16.31 MB / 1.559 GB, free: 2.289 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.2, allocations: 13.95 kB / 1.559 GB, free: 2.277 MB / 1.248 GB " [Timeout remaining time 289] (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: 17.196749816001102]