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.00187/0.00187, allocations: 104.8 kB / 16.45 MB, free: 6.5 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.002279/0.002279, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.774/2.774, allocations: 476.7 MB / 0.7672 GB, free: 5.23 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.002033/0.002033, allocations: 75.84 kB / 1.112 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8684, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2239/1.092, allocations: 185.3 MB / 1.459 GB, free: 3.367 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007421/1.1, allocations: 4.469 MB / 1.464 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/1.1, allocations: 31.69 kB / 1.464 GB, free: 14.86 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008821/1.101, allocations: 254.1 kB / 1.464 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/1.104, allocations: 0.7932 MB / 1.465 GB, free: 13.81 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003974/1.108, allocations: 1.55 MB / 1.466 GB, free: 12.26 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00182/1.11, allocations: 1.258 MB / 1.467 GB, free: 11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000759/1.11, allocations: 377.3 kB / 1.468 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/1.112, allocations: 0.5994 MB / 1.468 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007688/1.112, allocations: 434.2 kB / 1.469 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/1.113, allocations: 44 kB / 1.469 GB, free: 9.547 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/1.115, allocations: 1.648 MB / 1.47 GB, free: 7.895 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/1.116, allocations: 191.4 kB / 1.471 GB, free: 7.707 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004795/1.116, allocations: 306.5 kB / 1.471 GB, free: 7.406 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/1.119, allocations: 1.312 MB / 1.472 GB, free: 6.09 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.119, allocations: 0 / 1.472 GB, free: 6.09 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.483e-06/1.119, allocations: 0 / 1.472 GB, free: 6.09 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.739e-05/1.119, allocations: 0 / 1.472 GB, free: 6.09 MB / 1.17 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.00234/1.121, allocations: 1.044 MB / 1.473 GB, free: 4.984 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.121, allocations: 12.03 kB / 1.473 GB, free: 4.973 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/1.121, allocations: 78.52 kB / 1.473 GB, free: 4.887 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/1.124, allocations: 295.2 kB / 1.474 GB, free: 4.598 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/1.125, allocations: 473.8 kB / 1.474 GB, free: 4.094 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/1.125, allocations: 36.94 kB / 1.474 GB, free: 4.059 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/1.125, allocations: 40 kB / 1.474 GB, free: 4.02 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/1.126, allocations: 0.5507 MB / 1.475 GB, free: 3.438 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.126, allocations: 0 / 1.475 GB, free: 3.438 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/1.126, allocations: 19.94 kB / 1.475 GB, free: 3.418 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/1.126, allocations: 16 kB / 1.475 GB, free: 3.402 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.127, allocations: 455.5 kB / 1.475 GB, free: 2.957 MB / 1.17 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.003179/1.13, allocations: 2.116 MB / 1.477 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.131, allocations: 394.4 kB / 1.478 GB, free: 324 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/1.132, allocations: 220.7 kB / 1.478 GB, free: 100 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007953/1.133, allocations: 396.9 kB / 1.478 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007139/1.133, allocations: 292.8 kB / 1.478 GB, free: 15.34 MB / 1.186 GB Notification: Performance of pre-optimization done (n=37): time 2.284e-06/1.133, allocations: 0 / 1.478 GB, free: 15.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=37): time 0.002/1.135, allocations: 0.6876 MB / 1.479 GB, free: 14.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/1.135, allocations: 59.41 kB / 1.479 GB, free: 14.57 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/1.136, allocations: 498.1 kB / 1.48 GB, free: 14.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/1.136, allocations: 37.7 kB / 1.48 GB, free: 14.03 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/1.136, allocations: 264.4 kB / 1.48 GB, free: 13.77 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/1.137, allocations: 126.9 kB / 1.48 GB, free: 13.64 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/1.137, allocations: 94.08 kB / 1.48 GB, free: 13.55 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.137, allocations: 366.8 kB / 1.48 GB, free: 13.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/1.138, allocations: 196.8 kB / 1.481 GB, free: 12.99 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/1.138, allocations: 316 kB / 1.481 GB, free: 12.64 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.139, allocations: 0.541 MB / 1.481 GB, free: 12.05 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.139, allocations: 11.88 kB / 1.481 GB, free: 12.04 MB / 1.186 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001486/1.141, allocations: 0.6523 MB / 1.482 GB, free: 11.37 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/1.141, allocations: 63.34 kB / 1.482 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.141, allocations: 7.984 kB / 1.482 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.141, allocations: 8.062 kB / 1.482 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/1.141, allocations: 95.88 kB / 1.482 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/1.141, allocations: 12.17 kB / 1.482 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/1.142, allocations: 87.52 kB / 1.482 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/1.142, allocations: 20 kB / 1.482 GB, free: 11.07 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.0002749/1.142, allocations: 193.7 kB / 1.483 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.143, allocations: 55.62 kB / 1.483 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.144, allocations: 0.5345 MB / 1.483 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.144, allocations: 4 kB / 1.483 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.144, allocations: 0 / 1.483 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.144, allocations: 7.984 kB / 1.483 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/1.147, allocations: 1.362 MB / 1.485 GB, free: 8.793 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.147, allocations: 4 kB / 1.485 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/1.147, allocations: 76.33 kB / 1.485 GB, free: 8.715 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.147, allocations: 4 kB / 1.485 GB, free: 8.711 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/1.147, allocations: 15.98 kB / 1.485 GB, free: 8.695 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.147, allocations: 7.938 kB / 1.485 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.147, allocations: 4 kB / 1.485 GB, free: 8.684 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/1.149, allocations: 0.9372 MB / 1.486 GB, free: 7.684 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/1.149, allocations: 176.7 kB / 1.486 GB, free: 7.492 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/1.149, allocations: 12 kB / 1.486 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/1.15, allocations: 35.95 kB / 1.486 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.15, allocations: 51.81 kB / 1.486 GB, free: 7.395 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/1.15, allocations: 20.06 kB / 1.486 GB, free: 7.375 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004773/1.151, allocations: 346.8 kB / 1.486 GB, free: 7.039 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.151, allocations: 0 / 1.486 GB, free: 7.039 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000641/1.151, allocations: 151.8 kB / 1.486 GB, free: 6.891 MB / 1.186 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.002491/1.154, allocations: 1.56 MB / 1.488 GB, free: 5.262 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001331/1.155, allocations: 0.5651 MB / 1.488 GB, free: 4.672 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.155, allocations: 0 / 1.488 GB, free: 4.672 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007141/1.156, allocations: 275.5 kB / 1.489 GB, free: 4.406 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.157, allocations: 296.4 kB / 1.489 GB, free: 4.125 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/1.166, allocations: 5.027 MB / 1.494 GB, free: 14.84 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/1.167, allocations: 0.8626 MB / 1.495 GB, free: 13.95 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005214/1.167, allocations: 128.7 kB / 1.495 GB, free: 13.82 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/1.168, allocations: 175.4 kB / 1.495 GB, free: 13.65 MB / 1.201 GB Notification: Performance of SimCode: time 1.142e-06/1.168, allocations: 0 / 1.495 GB, free: 13.65 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0532/1.221, allocations: 15.93 MB / 1.511 GB, free: 13.99 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.132/10.35, allocations: 9.281 kB / 1.511 GB, free: 13.98 MB / 1.217 GB " [Timeout remaining time 290] (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: 16.55780573398806]