Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001403/0.001403, allocations: 109.8 kB / 16.46 MB, free: 6.508 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.001605/0.001605, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.404/1.404, allocations: 230.6 MB / 252.8 MB, free: 9.086 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.122/3.122, allocations: 0.505 GB / 0.8066 GB, free: 23.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",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.002055/0.002055, allocations: 69.12 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3569, allocations: 180.2 MB / 1.348 GB, free: 9.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.191/0.5479, allocations: 163.6 MB / 1.507 GB, free: 5.75 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005424/0.5533, allocations: 3.829 MB / 1.511 GB, free: 1.914 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.5537, allocations: 19.81 kB / 1.511 GB, free: 1.895 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.5543, allocations: 190.7 kB / 1.511 GB, free: 1.707 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.5564, allocations: 0.8751 MB / 1.512 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.5574, allocations: 427 kB / 1.513 GB, free: 424 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.5587, allocations: 1.018 MB / 1.514 GB, free: 15.39 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.5591, allocations: 252.9 kB / 1.514 GB, free: 15.14 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.5601, allocations: 0.6033 MB / 1.515 GB, free: 14.54 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008479/0.561, allocations: 334.7 kB / 1.515 GB, free: 14.21 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.561, allocations: 32 kB / 1.515 GB, free: 14.18 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5623, allocations: 0.7482 MB / 1.516 GB, free: 13.43 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.5625, allocations: 167.4 kB / 1.516 GB, free: 13.26 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.5627, allocations: 207 kB / 1.516 GB, free: 13.06 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.5638, allocations: 0.7591 MB / 1.517 GB, free: 12.3 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.5638, allocations: 8 kB / 1.517 GB, free: 12.29 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5638, allocations: 0 / 1.517 GB, free: 12.29 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5638, allocations: 0 / 1.517 GB, free: 12.29 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00114/0.5649, allocations: 0.7511 MB / 1.517 GB, free: 11.49 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.565, allocations: 11.98 kB / 1.517 GB, free: 11.48 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8e-05/0.565, allocations: 70.53 kB / 1.518 GB, free: 11.4 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.566, allocations: 147.5 kB / 1.518 GB, free: 11.25 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.5666, allocations: 406.7 kB / 1.518 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.5667, allocations: 24.66 kB / 1.518 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.5667, allocations: 28 kB / 1.518 GB, free: 10.76 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.5673, allocations: 334 kB / 1.518 GB, free: 10.43 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5673, allocations: 0 / 1.518 GB, free: 10.43 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.5674, allocations: 16 kB / 1.518 GB, free: 10.41 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.5674, allocations: 8 kB / 1.518 GB, free: 10.4 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.5679, allocations: 310.3 kB / 1.519 GB, free: 10.1 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.5697, allocations: 1.201 MB / 1.52 GB, free: 8.789 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.5701, allocations: 265.4 kB / 1.52 GB, free: 8.523 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.5704, allocations: 181.3 kB / 1.52 GB, free: 8.344 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.5707, allocations: 198.4 kB / 1.521 GB, free: 8.113 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.5708, allocations: 34.84 kB / 1.521 GB, free: 8.07 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 1.292e-06/0.5708, allocations: 0 / 1.521 GB, free: 8.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.002155/0.5729, allocations: 1.048 MB / 1.522 GB, free: 6.973 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.573, allocations: 55.41 kB / 1.522 GB, free: 6.906 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.5733, allocations: 312.5 kB / 1.522 GB, free: 6.59 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.5733, allocations: 37.69 kB / 1.522 GB, free: 6.547 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5735, allocations: 176.9 kB / 1.522 GB, free: 6.371 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.5736, allocations: 122.9 kB / 1.522 GB, free: 6.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.5737, allocations: 61.7 kB / 1.522 GB, free: 6.184 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5739, allocations: 346.8 kB / 1.523 GB, free: 5.836 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.5741, allocations: 111.9 kB / 1.523 GB, free: 5.727 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.5744, allocations: 166.2 kB / 1.523 GB, free: 5.555 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5762, allocations: 0.7617 MB / 1.524 GB, free: 4.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5762, allocations: 4 kB / 1.524 GB, free: 4.766 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006387/0.5769, allocations: 356.9 kB / 1.524 GB, free: 4.41 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.5769, allocations: 8 kB / 1.524 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5769, allocations: 0 / 1.524 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.5769, allocations: 3.938 kB / 1.524 GB, free: 4.398 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.5773, allocations: 63.91 kB / 1.524 GB, free: 4.336 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5773, allocations: 7.984 kB / 1.524 GB, free: 4.328 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.5776, allocations: 16.03 kB / 1.524 GB, free: 4.312 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.5777, allocations: 15.98 kB / 1.524 GB, free: 4.297 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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.0002271/0.5779, allocations: 177.7 kB / 1.524 GB, free: 4.113 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.578, allocations: 39.81 kB / 1.524 GB, free: 4.074 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.5781, allocations: 59.92 kB / 1.524 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5781, allocations: 4 kB / 1.524 GB, free: 4.012 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5781, allocations: 7.938 kB / 1.524 GB, free: 4.004 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006308/0.5787, allocations: 400.2 kB / 1.525 GB, free: 3.582 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.5805, allocations: 1.074 MB / 1.526 GB, free: 2.406 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5805, allocations: 4 kB / 1.526 GB, free: 2.402 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.5809, allocations: 84.36 kB / 1.526 GB, free: 2.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.5809, allocations: 7.938 kB / 1.526 GB, free: 2.312 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.5809, allocations: 12 kB / 1.526 GB, free: 2.301 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.5809, allocations: 7.938 kB / 1.526 GB, free: 2.293 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5809, allocations: 7.938 kB / 1.526 GB, free: 2.285 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.582, allocations: 0.6875 MB / 1.527 GB, free: 1.535 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5822, allocations: 148.8 kB / 1.527 GB, free: 1.371 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.5822, allocations: 15.94 kB / 1.527 GB, free: 1.355 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.5826, allocations: 15.98 kB / 1.527 GB, free: 1.34 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.5826, allocations: 35.97 kB / 1.527 GB, free: 1.305 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.5827, allocations: 16 kB / 1.527 GB, free: 1.289 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002527/0.5829, allocations: 227 kB / 1.527 GB, free: 1.07 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5829, allocations: 0 / 1.527 GB, free: 1.07 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005082/0.5834, allocations: 116 kB / 1.527 GB, free: 0.957 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001634/0.5851, allocations: 1.274 MB / 1.528 GB, free: 15.61 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006469/0.5857, allocations: 299.5 kB / 1.529 GB, free: 15.32 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5857, allocations: 4 kB / 1.529 GB, free: 15.31 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.586, allocations: 162.1 kB / 1.529 GB, free: 15.16 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5872, allocations: 226.5 kB / 1.529 GB, free: 14.94 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.5925, allocations: 3.679 MB / 1.533 GB, free: 11.09 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.593, allocations: 0.8274 MB / 1.533 GB, free: 10.23 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003341/0.5934, allocations: 107.2 kB / 1.534 GB, free: 10.12 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.5936, allocations: 115.3 kB / 1.534 GB, free: 10.01 MB / 1.232 GB Notification: Performance of SimCode: time 4.91e-07/0.5936, allocations: 0 / 1.534 GB, free: 10.01 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.6349, allocations: 11.21 MB / 1.545 GB, free: 15.02 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.007, allocations: 15.86 kB / 1.545 GB, free: 15.01 MB / 1.248 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dynBal.Q_flow in file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.Q_flow from file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.mWat_flow in file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.mWat_flow from file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.medium.T in file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.medium.T from file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.595420830883086]