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.00148/0.00148, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001696/0.001696, allocations: 207 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.816 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.107/3.107, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.001959/0.001959, allocations: 68.17 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1657/0.4764, allocations: 141.1 MB / 1.501 GB, free: 0.5 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005228/0.4817, allocations: 3.543 MB / 1.505 GB, free: 12.95 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.4819, allocations: 27.81 kB / 1.505 GB, free: 12.92 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.4826, allocations: 182.7 kB / 1.505 GB, free: 12.74 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.4847, allocations: 0.8557 MB / 1.506 GB, free: 11.88 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4857, allocations: 436.2 kB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.487, allocations: 1.038 MB / 1.507 GB, free: 10.42 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.4874, allocations: 237.1 kB / 1.507 GB, free: 10.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.4886, allocations: 0.6033 MB / 1.508 GB, free: 9.578 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/0.4895, allocations: 329.1 kB / 1.508 GB, free: 9.258 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.4895, allocations: 28 kB / 1.508 GB, free: 9.23 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.4906, allocations: 0.5999 MB / 1.509 GB, free: 8.629 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.4908, allocations: 171.5 kB / 1.509 GB, free: 8.461 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.491, allocations: 175.2 kB / 1.509 GB, free: 8.289 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.4921, allocations: 0.7435 MB / 1.51 GB, free: 7.543 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4921, allocations: 0 / 1.51 GB, free: 7.543 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4921, allocations: 0 / 1.51 GB, free: 7.543 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4921, allocations: 0 / 1.51 GB, free: 7.543 MB / 1.201 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.001075/0.4932, allocations: 0.672 MB / 1.511 GB, free: 6.84 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4932, allocations: 12.03 kB / 1.511 GB, free: 6.828 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.4933, allocations: 70.47 kB / 1.511 GB, free: 6.75 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.4942, allocations: 155.5 kB / 1.511 GB, free: 6.598 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.4949, allocations: 332.2 kB / 1.511 GB, free: 6.246 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.4949, allocations: 24.59 kB / 1.511 GB, free: 6.223 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.495, allocations: 28 kB / 1.511 GB, free: 6.195 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.4956, allocations: 432.8 kB / 1.512 GB, free: 5.742 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4956, allocations: 4 kB / 1.512 GB, free: 5.738 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.4956, allocations: 8 kB / 1.512 GB, free: 5.73 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4956, allocations: 8 kB / 1.512 GB, free: 5.723 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.4962, allocations: 310.3 kB / 1.512 GB, free: 5.418 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.4979, allocations: 0.8743 MB / 1.513 GB, free: 4.496 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.4984, allocations: 263.4 kB / 1.513 GB, free: 4.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.4987, allocations: 173.3 kB / 1.513 GB, free: 4.059 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.4989, allocations: 36.25 kB / 1.513 GB, free: 4.023 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.4989, allocations: 38.84 kB / 1.513 GB, free: 3.977 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.4989, allocations: 0 / 1.513 GB, free: 3.977 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002083/0.501, allocations: 0.9702 MB / 1.514 GB, free: 2.973 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5011, allocations: 59.41 kB / 1.514 GB, free: 2.902 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.5015, allocations: 316.5 kB / 1.515 GB, free: 2.586 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.5015, allocations: 29.7 kB / 1.515 GB, free: 2.551 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.5017, allocations: 180.8 kB / 1.515 GB, free: 2.371 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.5018, allocations: 130.9 kB / 1.515 GB, free: 2.242 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.5019, allocations: 65.66 kB / 1.515 GB, free: 2.172 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5021, allocations: 346.8 kB / 1.515 GB, free: 1.824 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.5023, allocations: 115.9 kB / 1.515 GB, free: 1.711 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.5027, allocations: 269 kB / 1.516 GB, free: 1.414 MB / 1.201 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.001702/0.5044, allocations: 0.6867 MB / 1.516 GB, free: 0.7227 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5044, allocations: 3.938 kB / 1.516 GB, free: 0.7227 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006045/0.505, allocations: 360.9 kB / 1.517 GB, free: 372 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.505, allocations: 11.94 kB / 1.517 GB, free: 360 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.505, allocations: 0 / 1.517 GB, free: 360 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.505, allocations: 3.938 kB / 1.517 GB, free: 356 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.5053, allocations: 63.91 kB / 1.517 GB, free: 292 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5053, allocations: 4 kB / 1.517 GB, free: 288 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.5056, allocations: 19.94 kB / 1.517 GB, free: 268 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.5057, allocations: 12 kB / 1.517 GB, free: 256 kB / 1.201 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.0002188/0.5059, allocations: 187.9 kB / 1.517 GB, free: 60 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.5059, allocations: 35.77 kB / 1.517 GB, free: 24 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.5061, allocations: 56.05 kB / 1.517 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5061, allocations: 4 kB / 1.517 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5061, allocations: 0 / 1.517 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005705/0.5067, allocations: 400.2 kB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.5083, allocations: 0.9833 MB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5083, allocations: 4 kB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.5087, allocations: 80.36 kB / 1.518 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5087, allocations: 12 kB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.5087, allocations: 8 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.5087, allocations: 15.92 kB / 1.518 GB, free: 14.35 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5087, allocations: 7.938 kB / 1.518 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.5097, allocations: 0.6804 MB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.5098, allocations: 63.73 kB / 1.519 GB, free: 13.54 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.5099, allocations: 20 kB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.5102, allocations: 15.98 kB / 1.519 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.5103, allocations: 35.83 kB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.5103, allocations: 16 kB / 1.519 GB, free: 13.45 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002477/0.5106, allocations: 235 kB / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5106, allocations: 0 / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004373/0.511, allocations: 111.9 kB / 1.52 GB, free: 13.11 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.00151/0.5125, allocations: 1.291 MB / 1.521 GB, free: 11.74 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005947/0.5131, allocations: 287.5 kB / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5131, allocations: 0 / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.5134, allocations: 166.2 kB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.5145, allocations: 231.7 kB / 1.522 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.5194, allocations: 3.666 MB / 1.525 GB, free: 7.238 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.5197, allocations: 230.1 kB / 1.525 GB, free: 6.996 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.52, allocations: 111.2 kB / 1.525 GB, free: 6.887 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.5202, allocations: 119.4 kB / 1.526 GB, free: 6.77 MB / 1.217 GB Notification: Performance of SimCode: time 7.11e-07/0.5202, allocations: 0 / 1.526 GB, free: 6.77 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.5646, allocations: 12.46 MB / 1.538 GB, free: 10.61 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.54, allocations: 4.062 kB / 1.538 GB, free: 10.61 MB / 1.233 GB " [Timeout remaining time 288] (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: 17.889902350958437]