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.001363/0.001363, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00152/0.00152, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.812 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.03/3.03, allocations: 0.49 GB / 0.7951 GB, free: 35.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.002037/0.002037, allocations: 69.95 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1925/0.5459, allocations: 160.7 MB / 1.483 GB, free: 252 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006073/0.552, allocations: 4.164 MB / 1.487 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.5525, allocations: 35.69 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.5532, allocations: 258.1 kB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.5551, allocations: 0.7581 MB / 1.488 GB, free: 11.03 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.5587, allocations: 1.553 MB / 1.489 GB, free: 9.473 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.5601, allocations: 1.266 MB / 1.491 GB, free: 8.203 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005341/0.5606, allocations: 357.6 kB / 1.491 GB, free: 7.844 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.5622, allocations: 0.8331 MB / 1.492 GB, free: 7.008 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.5627, allocations: 430.2 kB / 1.492 GB, free: 6.586 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.934e-05/0.5627, allocations: 44 kB / 1.492 GB, free: 6.543 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.5648, allocations: 1.266 MB / 1.493 GB, free: 5.273 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.5651, allocations: 195.4 kB / 1.494 GB, free: 5.082 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.5653, allocations: 250.8 kB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.567, allocations: 1.254 MB / 1.495 GB, free: 3.578 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.567, allocations: 0 / 1.495 GB, free: 3.578 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.773e-06/0.567, allocations: 0 / 1.495 GB, free: 3.578 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.567, allocations: 0 / 1.495 GB, free: 3.578 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.001699/0.5687, allocations: 0.9682 MB / 1.496 GB, free: 2.566 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5688, allocations: 8.031 kB / 1.496 GB, free: 2.559 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.261e-05/0.5689, allocations: 82.53 kB / 1.496 GB, free: 2.469 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.5707, allocations: 291.2 kB / 1.496 GB, free: 2.184 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.5715, allocations: 398.6 kB / 1.497 GB, free: 1.766 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.5716, allocations: 37 kB / 1.497 GB, free: 1.73 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.5716, allocations: 43.98 kB / 1.497 GB, free: 1.688 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.5726, allocations: 0.5546 MB / 1.497 GB, free: 1.102 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5726, allocations: 0 / 1.497 GB, free: 1.102 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.5727, allocations: 19.94 kB / 1.497 GB, free: 1.082 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.5727, allocations: 12 kB / 1.497 GB, free: 1.07 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.5737, allocations: 459.5 kB / 1.498 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.5761, allocations: 1.775 MB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009313/0.577, allocations: 390.4 kB / 1.5 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.5775, allocations: 217.3 kB / 1.5 GB, free: 14.17 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.578, allocations: 95.91 kB / 1.5 GB, free: 14.07 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/0.5786, allocations: 299.1 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.5786, allocations: 0 / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001734/0.5804, allocations: 0.6917 MB / 1.501 GB, free: 13.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.5804, allocations: 63.34 kB / 1.501 GB, free: 13 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.581, allocations: 0.4902 MB / 1.502 GB, free: 12.49 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.581, allocations: 33.7 kB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.5812, allocations: 268.4 kB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5813, allocations: 134.8 kB / 1.502 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.5815, allocations: 90.12 kB / 1.502 GB, free: 11.96 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5817, allocations: 366.8 kB / 1.503 GB, free: 11.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.5822, allocations: 252.2 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/0.5828, allocations: 499.6 kB / 1.503 GB, free: 10.76 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5838, allocations: 0.5454 MB / 1.504 GB, free: 10.16 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5838, allocations: 7.938 kB / 1.504 GB, free: 10.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001304/0.5851, allocations: 0.7026 MB / 1.505 GB, free: 9.422 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.5852, allocations: 63.72 kB / 1.505 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5852, allocations: 8 kB / 1.505 GB, free: 9.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5852, allocations: 4 kB / 1.505 GB, free: 9.336 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.5857, allocations: 95.88 kB / 1.505 GB, free: 9.242 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.5857, allocations: 7.984 kB / 1.505 GB, free: 9.234 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.5861, allocations: 79.58 kB / 1.505 GB, free: 9.156 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.5862, allocations: 20 kB / 1.505 GB, free: 9.137 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.0002316/0.5864, allocations: 198.8 kB / 1.505 GB, free: 8.934 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.5865, allocations: 51.67 kB / 1.505 GB, free: 8.883 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.5877, allocations: 0.5419 MB / 1.506 GB, free: 8.328 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5877, allocations: 4 kB / 1.506 GB, free: 8.324 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5877, allocations: 4 kB / 1.506 GB, free: 8.32 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5877, allocations: 3.984 kB / 1.506 GB, free: 8.316 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.5899, allocations: 1.269 MB / 1.507 GB, free: 6.957 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5899, allocations: 8 kB / 1.507 GB, free: 6.949 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.5903, allocations: 75.89 kB / 1.507 GB, free: 6.875 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5903, allocations: 4 kB / 1.507 GB, free: 6.871 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.5903, allocations: 16.42 kB / 1.507 GB, free: 6.855 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5903, allocations: 8 kB / 1.507 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5904, allocations: 7.938 kB / 1.507 GB, free: 6.84 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.592, allocations: 0.933 MB / 1.508 GB, free: 5.844 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.5923, allocations: 99.5 kB / 1.508 GB, free: 5.746 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.5923, allocations: 16 kB / 1.508 GB, free: 5.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.5927, allocations: 35.89 kB / 1.508 GB, free: 5.695 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.5928, allocations: 51.81 kB / 1.508 GB, free: 5.645 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.5929, allocations: 19.98 kB / 1.508 GB, free: 5.625 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004181/0.5933, allocations: 342.8 kB / 1.508 GB, free: 5.293 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5933, allocations: 4.062 kB / 1.508 GB, free: 5.289 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000563/0.5939, allocations: 155.8 kB / 1.509 GB, free: 5.137 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.002198/0.5961, allocations: 1.563 MB / 1.51 GB, free: 3.508 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.5972, allocations: 0.6196 MB / 1.511 GB, free: 2.852 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5972, allocations: 0 / 1.511 GB, free: 2.852 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.5979, allocations: 267.5 kB / 1.511 GB, free: 2.59 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.5992, allocations: 286 kB / 1.511 GB, free: 2.316 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.6066, allocations: 5.237 MB / 1.516 GB, free: 12.77 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.6069, allocations: 266.1 kB / 1.517 GB, free: 12.48 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004418/0.6073, allocations: 132.7 kB / 1.517 GB, free: 12.35 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.6076, allocations: 175.4 kB / 1.517 GB, free: 12.18 MB / 1.217 GB Notification: Performance of SimCode: time 9.62e-07/0.6076, allocations: 0 / 1.517 GB, free: 12.18 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04842/0.656, allocations: 17.78 MB / 1.534 GB, free: 10.82 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.6, allocations: 7.922 kB / 1.534 GB, free: 10.81 MB / 1.233 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.01220783899771]