Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001337/0.001337, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.001437/0.001437, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.419/1.419, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.096/3.096, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_12_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.001978/0.001978, allocations: 66.23 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1901/0.5279, allocations: 163.5 MB / 1.481 GB, free: 15.17 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006183/0.534, allocations: 3.832 MB / 1.484 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.5346, allocations: 19.81 kB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.5353, allocations: 190.7 kB / 1.484 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.5379, allocations: 0.8751 MB / 1.485 GB, free: 10.24 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.539, allocations: 433.2 kB / 1.486 GB, free: 9.816 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.5406, allocations: 1.022 MB / 1.487 GB, free: 8.789 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.5412, allocations: 255.3 kB / 1.487 GB, free: 8.539 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.5426, allocations: 0.6033 MB / 1.488 GB, free: 7.934 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.5437, allocations: 334.7 kB / 1.488 GB, free: 7.605 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5438, allocations: 28 kB / 1.488 GB, free: 7.578 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.5453, allocations: 0.7482 MB / 1.489 GB, free: 6.828 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.5456, allocations: 167.5 kB / 1.489 GB, free: 6.664 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003353/0.5459, allocations: 211 kB / 1.489 GB, free: 6.457 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.5474, allocations: 0.763 MB / 1.49 GB, free: 5.691 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5474, allocations: 0 / 1.49 GB, free: 5.691 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5474, allocations: 0 / 1.49 GB, free: 5.691 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.5474, allocations: 0 / 1.49 GB, free: 5.691 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001388/0.5488, allocations: 0.7512 MB / 1.49 GB, free: 4.891 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5489, allocations: 11.98 kB / 1.49 GB, free: 4.879 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.499e-05/0.549, allocations: 70.47 kB / 1.491 GB, free: 4.801 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.5501, allocations: 143.6 kB / 1.491 GB, free: 4.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/0.5507, allocations: 410.6 kB / 1.491 GB, free: 4.215 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.5508, allocations: 24.66 kB / 1.491 GB, free: 4.191 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.5508, allocations: 28 kB / 1.491 GB, free: 4.164 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.5514, allocations: 326 kB / 1.491 GB, free: 3.84 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5515, allocations: 4 kB / 1.491 GB, free: 3.836 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.5515, allocations: 8 kB / 1.491 GB, free: 3.828 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.5515, allocations: 8 kB / 1.491 GB, free: 3.82 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.5521, allocations: 310.3 kB / 1.492 GB, free: 3.516 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.5539, allocations: 1.197 MB / 1.493 GB, free: 2.207 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.5544, allocations: 283.3 kB / 1.493 GB, free: 1.922 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.5547, allocations: 169.3 kB / 1.493 GB, free: 1.754 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/0.555, allocations: 202.5 kB / 1.494 GB, free: 1.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.5551, allocations: 34.78 kB / 1.494 GB, free: 1.477 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.5551, allocations: 0 / 1.494 GB, free: 1.477 MB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002202/0.5573, allocations: 1.043 MB / 1.495 GB, free: 392 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5573, allocations: 55.41 kB / 1.495 GB, free: 324 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.5577, allocations: 312.5 kB / 1.495 GB, free: 8 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.5578, allocations: 37.7 kB / 1.495 GB, free: 15.96 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.5579, allocations: 172.9 kB / 1.495 GB, free: 15.79 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.558, allocations: 126.9 kB / 1.495 GB, free: 15.66 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5581, allocations: 57.7 kB / 1.495 GB, free: 15.6 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5583, allocations: 354.8 kB / 1.496 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.5585, allocations: 115.7 kB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.5588, allocations: 162.4 kB / 1.496 GB, free: 14.96 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.001866/0.5607, allocations: 0.7571 MB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5607, allocations: 0 / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006388/0.5613, allocations: 364.8 kB / 1.497 GB, free: 13.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5613, allocations: 8.031 kB / 1.497 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.5613, allocations: 0 / 1.497 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.5614, allocations: 7.938 kB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.5617, allocations: 63.91 kB / 1.497 GB, free: 13.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5617, allocations: 0 / 1.497 GB, free: 13.74 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.562, allocations: 19.98 kB / 1.497 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.5621, allocations: 12 kB / 1.497 GB, free: 13.71 MB / 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.0002224/0.5623, allocations: 178.4 kB / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.5624, allocations: 39.77 kB / 1.497 GB, free: 13.49 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.5625, allocations: 56 kB / 1.497 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.5625, allocations: 4 kB / 1.497 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5625, allocations: 0 / 1.497 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006066/0.5631, allocations: 400.2 kB / 1.498 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.5649, allocations: 1.077 MB / 1.499 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5649, allocations: 7.984 kB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.5653, allocations: 75.91 kB / 1.499 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.5653, allocations: 8 kB / 1.499 GB, free: 11.74 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.5653, allocations: 15.98 kB / 1.499 GB, free: 11.72 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.5653, allocations: 12.41 kB / 1.499 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.5653, allocations: 11.94 kB / 1.499 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5664, allocations: 0.6836 MB / 1.5 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.5665, allocations: 144.8 kB / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.5666, allocations: 19.92 kB / 1.5 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.5669, allocations: 12 kB / 1.5 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.567, allocations: 39.89 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.5671, allocations: 19.94 kB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002528/0.5673, allocations: 231 kB / 1.5 GB, free: 10.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5673, allocations: 0 / 1.5 GB, free: 10.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004802/0.5678, allocations: 108 kB / 1.5 GB, free: 10.37 MB / 1.201 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.001528/0.5693, allocations: 1.276 MB / 1.501 GB, free: 9.023 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006175/0.5699, allocations: 299.5 kB / 1.502 GB, free: 8.73 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5699, allocations: 4.062 kB / 1.502 GB, free: 8.727 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.5702, allocations: 163.7 kB / 1.502 GB, free: 8.566 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5714, allocations: 227.8 kB / 1.502 GB, free: 8.352 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.5765, allocations: 3.677 MB / 1.506 GB, free: 4.504 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.577, allocations: 0.8313 MB / 1.506 GB, free: 3.645 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003452/0.5773, allocations: 103.2 kB / 1.507 GB, free: 3.539 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.5775, allocations: 115.4 kB / 1.507 GB, free: 3.426 MB / 1.201 GB Notification: Performance of SimCode: time 6.12e-07/0.5775, allocations: 0 / 1.507 GB, free: 3.426 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.617, allocations: 11.21 MB / 1.518 GB, free: 8.465 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/9.082, allocations: 0 / 1.518 GB, free: 8.465 MB / 1.217 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.Q_flow from file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.mWat_flow in file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.mWat_flow from file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.medium.T in file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.medium.T from file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.525767276994884]