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.001912/0.001912, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002014/0.002014, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.992 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.075/3.075, allocations: 0.49 GB / 0.7951 GB, free: 33.21 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.001984/0.001984, allocations: 68.14 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1822/0.5267, allocations: 163.7 MB / 1.486 GB, free: 13.66 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006012/0.5327, allocations: 3.856 MB / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/0.5332, allocations: 19.81 kB / 1.49 GB, free: 9.777 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.5339, allocations: 194.6 kB / 1.49 GB, free: 9.586 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.5362, allocations: 0.8868 MB / 1.491 GB, free: 8.695 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.5374, allocations: 453.7 kB / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.5388, allocations: 1.057 MB / 1.492 GB, free: 7.191 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.5393, allocations: 225.1 kB / 1.492 GB, free: 6.969 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.5405, allocations: 0.6151 MB / 1.493 GB, free: 6.352 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000987/0.5415, allocations: 342.5 kB / 1.493 GB, free: 6.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.5416, allocations: 32 kB / 1.493 GB, free: 5.988 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.543, allocations: 0.756 MB / 1.494 GB, free: 5.23 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.5432, allocations: 167.5 kB / 1.494 GB, free: 5.066 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.5435, allocations: 218.9 kB / 1.494 GB, free: 4.852 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.5448, allocations: 0.7552 MB / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5448, allocations: 0 / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5448, allocations: 4 kB / 1.495 GB, free: 4.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5448, allocations: 0 / 1.495 GB, free: 4.09 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.001204/0.546, allocations: 0.6758 MB / 1.496 GB, free: 3.383 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.546, allocations: 12.03 kB / 1.496 GB, free: 3.371 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.333e-05/0.5461, allocations: 66.53 kB / 1.496 GB, free: 3.297 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009959/0.5471, allocations: 151.6 kB / 1.496 GB, free: 3.148 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.5478, allocations: 332.2 kB / 1.496 GB, free: 2.793 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.5478, allocations: 24.66 kB / 1.496 GB, free: 2.77 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.5479, allocations: 31.95 kB / 1.496 GB, free: 2.738 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.5484, allocations: 330 kB / 1.497 GB, free: 2.41 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5485, allocations: 4 kB / 1.497 GB, free: 2.406 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.5485, allocations: 8 kB / 1.497 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5485, allocations: 12 kB / 1.497 GB, free: 2.387 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.549, allocations: 310.3 kB / 1.497 GB, free: 2.082 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.5509, allocations: 1.17 MB / 1.498 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.5514, allocations: 271.4 kB / 1.498 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.5517, allocations: 173.3 kB / 1.499 GB, free: 372 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.5519, allocations: 40.25 kB / 1.499 GB, free: 332 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.552, allocations: 34.84 kB / 1.499 GB, free: 288 kB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.552, allocations: 0 / 1.499 GB, free: 288 kB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002175/0.5541, allocations: 0.9711 MB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.5542, allocations: 59.34 kB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.5545, allocations: 312.5 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.5546, allocations: 37.7 kB / 1.5 GB, free: 14.85 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5547, allocations: 176.8 kB / 1.5 GB, free: 14.68 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.5548, allocations: 134.8 kB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.5549, allocations: 57.7 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5551, allocations: 346.8 kB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5553, allocations: 119.7 kB / 1.501 GB, free: 14.02 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.5555, allocations: 162.2 kB / 1.501 GB, free: 13.85 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.001729/0.5573, allocations: 0.6793 MB / 1.502 GB, free: 13.17 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5573, allocations: 7.875 kB / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006139/0.5579, allocations: 361 kB / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5579, allocations: 4 kB / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5579, allocations: 0 / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5579, allocations: 7.938 kB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.5582, allocations: 59.91 kB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5582, allocations: 7.984 kB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.5586, allocations: 19.98 kB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.5586, allocations: 8 kB / 1.502 GB, free: 12.7 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.0002136/0.5588, allocations: 177.8 kB / 1.502 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.5589, allocations: 39.75 kB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.559, allocations: 56 kB / 1.502 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.559, allocations: 7.938 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.559, allocations: 4 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005823/0.5596, allocations: 408.3 kB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.5613, allocations: 1.034 MB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.5613, allocations: 4 kB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.5617, allocations: 84.36 kB / 1.504 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.5617, allocations: 8 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.5617, allocations: 12 kB / 1.504 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.5617, allocations: 11.88 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5617, allocations: 4 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009904/0.5627, allocations: 0.6807 MB / 1.504 GB, free: 9.984 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.5629, allocations: 75.72 kB / 1.505 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.563, allocations: 15.94 kB / 1.505 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.5633, allocations: 15.98 kB / 1.505 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.5634, allocations: 39.89 kB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.5634, allocations: 16 kB / 1.505 GB, free: 9.824 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002494/0.5637, allocations: 227 kB / 1.505 GB, free: 9.602 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5637, allocations: 0 / 1.505 GB, free: 9.602 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000487/0.5641, allocations: 115.9 kB / 1.505 GB, free: 9.488 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.001476/0.5656, allocations: 1.287 MB / 1.506 GB, free: 8.125 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006342/0.5662, allocations: 297.1 kB / 1.506 GB, free: 7.836 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5663, allocations: 3.938 kB / 1.506 GB, free: 7.832 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.5665, allocations: 156.7 kB / 1.507 GB, free: 7.68 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5677, allocations: 227 kB / 1.507 GB, free: 7.457 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.5727, allocations: 3.678 MB / 1.51 GB, free: 3.605 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.5732, allocations: 0.8273 MB / 1.511 GB, free: 2.75 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.5735, allocations: 99.2 kB / 1.511 GB, free: 2.648 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.5737, allocations: 119.4 kB / 1.511 GB, free: 2.531 MB / 1.201 GB Notification: Performance of SimCode: time 1.162e-06/0.5737, allocations: 0 / 1.511 GB, free: 2.531 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.6156, allocations: 11.5 MB / 1.523 GB, free: 7.285 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.51, allocations: 3.656 kB / 1.523 GB, free: 7.285 MB / 1.217 GB " [Timeout remaining time 288] (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: 18.192476438000085]