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.001523/0.001523, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001725/0.001725, allocations: 216.2 kB / 22.25 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.793 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.059/3.059, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.001979/0.001979, allocations: 70.5 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1804/0.5457, allocations: 141.1 MB / 1.464 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005673/0.5513, allocations: 3.54 MB / 1.467 GB, free: 308 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.5517, allocations: 23.81 kB / 1.467 GB, free: 284 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.5524, allocations: 182.7 kB / 1.467 GB, free: 100 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.5547, allocations: 0.8596 MB / 1.468 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.5558, allocations: 453.3 kB / 1.469 GB, free: 14.8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.5572, allocations: 1.053 MB / 1.47 GB, free: 13.74 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.5576, allocations: 233.1 kB / 1.47 GB, free: 13.51 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.5587, allocations: 0.615 MB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009225/0.5597, allocations: 338.9 kB / 1.471 GB, free: 12.56 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.5597, allocations: 32 kB / 1.471 GB, free: 12.53 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.561, allocations: 0.5922 MB / 1.471 GB, free: 11.94 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.5612, allocations: 167.5 kB / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.5614, allocations: 187.1 kB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.5627, allocations: 0.7357 MB / 1.472 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5627, allocations: 0 / 1.472 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5627, allocations: 4 kB / 1.472 GB, free: 10.85 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.5627, allocations: 0 / 1.472 GB, free: 10.85 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001301/0.564, allocations: 0.6681 MB / 1.473 GB, free: 10.15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.564, allocations: 12.03 kB / 1.473 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.835e-05/0.5641, allocations: 66.48 kB / 1.473 GB, free: 10.06 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.5652, allocations: 155.6 kB / 1.473 GB, free: 9.91 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.5659, allocations: 340.2 kB / 1.474 GB, free: 9.547 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.5659, allocations: 20.66 kB / 1.474 GB, free: 9.527 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.566, allocations: 35.95 kB / 1.474 GB, free: 9.492 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.5667, allocations: 436.7 kB / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.5667, allocations: 0 / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.5667, allocations: 12 kB / 1.474 GB, free: 9.023 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.5667, allocations: 8 kB / 1.474 GB, free: 9.016 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.5673, allocations: 314.3 kB / 1.474 GB, free: 8.707 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.569, allocations: 0.851 MB / 1.475 GB, free: 7.809 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.5695, allocations: 275.4 kB / 1.475 GB, free: 7.531 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.5698, allocations: 173.3 kB / 1.476 GB, free: 7.359 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.57, allocations: 40.25 kB / 1.476 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.5701, allocations: 34.84 kB / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.5701, allocations: 0 / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002173/0.5723, allocations: 0.971 MB / 1.477 GB, free: 6.273 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5723, allocations: 59.34 kB / 1.477 GB, free: 6.203 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.5727, allocations: 316.5 kB / 1.477 GB, free: 5.891 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.5727, allocations: 33.7 kB / 1.477 GB, free: 5.852 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.5728, allocations: 176.8 kB / 1.477 GB, free: 5.676 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.573, allocations: 130.9 kB / 1.477 GB, free: 5.547 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5731, allocations: 65.69 kB / 1.477 GB, free: 5.477 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5733, allocations: 342.8 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.5735, allocations: 123.6 kB / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.5738, allocations: 269 kB / 1.478 GB, free: 4.715 MB / 1.17 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.001742/0.5756, allocations: 0.6776 MB / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5756, allocations: 3.938 kB / 1.479 GB, free: 4.027 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006148/0.5762, allocations: 353 kB / 1.479 GB, free: 3.676 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5762, allocations: 8 kB / 1.479 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5762, allocations: 0 / 1.479 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5762, allocations: 3.969 kB / 1.479 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.5765, allocations: 67.91 kB / 1.479 GB, free: 3.598 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5765, allocations: 4 kB / 1.479 GB, free: 3.594 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.5769, allocations: 15.98 kB / 1.479 GB, free: 3.578 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.5769, allocations: 12 kB / 1.479 GB, free: 3.566 MB / 1.17 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.0002151/0.5771, allocations: 173.8 kB / 1.479 GB, free: 3.387 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.5772, allocations: 39.77 kB / 1.479 GB, free: 3.348 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.5773, allocations: 56 kB / 1.479 GB, free: 3.293 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5773, allocations: 4 kB / 1.479 GB, free: 3.289 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5773, allocations: 4 kB / 1.479 GB, free: 3.285 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006112/0.578, allocations: 412.3 kB / 1.48 GB, free: 2.852 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.5796, allocations: 0.9832 MB / 1.481 GB, free: 1.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5797, allocations: 4 kB / 1.481 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.58, allocations: 79.89 kB / 1.481 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.58, allocations: 8 kB / 1.481 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.58, allocations: 8 kB / 1.481 GB, free: 1.676 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.5801, allocations: 15.88 kB / 1.481 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5801, allocations: 4.406 kB / 1.481 GB, free: 1.656 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/0.581, allocations: 0.6885 MB / 1.482 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.5812, allocations: 67.72 kB / 1.482 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.5813, allocations: 15.94 kB / 1.482 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.5816, allocations: 17.2 kB / 1.482 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.5817, allocations: 39.83 kB / 1.482 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.5817, allocations: 12 kB / 1.482 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002594/0.582, allocations: 239.1 kB / 1.482 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.582, allocations: 0 / 1.482 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004542/0.5824, allocations: 107.9 kB / 1.482 GB, free: 428 kB / 1.17 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.001467/0.5839, allocations: 1.289 MB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005873/0.5845, allocations: 291.5 kB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5845, allocations: 3.938 kB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.5848, allocations: 159.7 kB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5859, allocations: 223.4 kB / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.5909, allocations: 3.684 MB / 1.488 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.5912, allocations: 222.2 kB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003162/0.5915, allocations: 103.2 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5917, allocations: 119.4 kB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of SimCode: time 4.51e-07/0.5917, allocations: 0 / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.6361, allocations: 12.58 MB / 1.5 GB, free: 13.82 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.87, allocations: 3.109 kB / 1.5 GB, free: 13.82 MB / 1.201 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.42289133599843]