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.001378/0.001378, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001535/0.001535, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.436/1.436, allocations: 230.6 MB / 256.8 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.118/3.118, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [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.002083/0.002083, allocations: 72.48 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3526, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1819/0.5345, allocations: 141.1 MB / 1.464 GB, free: 4.234 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006146/0.5407, allocations: 3.538 MB / 1.468 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005881/0.5413, allocations: 19.81 kB / 1.468 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.5421, allocations: 182.7 kB / 1.468 GB, free: 496 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.5446, allocations: 0.8635 MB / 1.469 GB, free: 15.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.5458, allocations: 442.4 kB / 1.469 GB, free: 15.19 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.5474, allocations: 1.042 MB / 1.47 GB, free: 14.14 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.548, allocations: 229.1 kB / 1.47 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.5493, allocations: 0.6072 MB / 1.471 GB, free: 13.3 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.5504, allocations: 330.4 kB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.5505, allocations: 28 kB / 1.471 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.5516, allocations: 0.5921 MB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.5519, allocations: 159.5 kB / 1.472 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.5521, allocations: 187.2 kB / 1.472 GB, free: 12.02 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.5532, allocations: 0.7435 MB / 1.473 GB, free: 11.27 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5532, allocations: 0 / 1.473 GB, free: 11.27 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.787e-06/0.5532, allocations: 4 kB / 1.473 GB, free: 11.27 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.5532, allocations: 0 / 1.473 GB, free: 11.27 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.001172/0.5544, allocations: 0.672 MB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5545, allocations: 8.031 kB / 1.473 GB, free: 10.56 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5555, allocations: 147.6 kB / 1.474 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.5561, allocations: 340.2 kB / 1.474 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.5562, allocations: 28.53 kB / 1.474 GB, free: 10.02 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.5562, allocations: 39.94 kB / 1.474 GB, free: 9.984 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.5569, allocations: 428.8 kB / 1.474 GB, free: 9.535 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5569, allocations: 0 / 1.474 GB, free: 9.535 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.5569, allocations: 16 kB / 1.474 GB, free: 9.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.5569, allocations: 8 kB / 1.474 GB, free: 9.512 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/0.5575, allocations: 306.4 kB / 1.475 GB, free: 9.211 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.5591, allocations: 0.7891 MB / 1.475 GB, free: 8.387 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.5596, allocations: 280.6 kB / 1.476 GB, free: 8.105 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.5599, allocations: 170.9 kB / 1.476 GB, free: 7.938 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.5601, allocations: 44.25 kB / 1.476 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5601, allocations: 34.84 kB / 1.476 GB, free: 7.852 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 5.139e-06/0.5602, allocations: 3.984 kB / 1.476 GB, free: 7.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002143/0.5623, allocations: 0.9588 MB / 1.477 GB, free: 6.855 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5623, allocations: 59.34 kB / 1.477 GB, free: 6.785 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.5626, allocations: 252.2 kB / 1.477 GB, free: 6.535 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.5627, allocations: 33.7 kB / 1.477 GB, free: 6.496 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5628, allocations: 196.6 kB / 1.477 GB, free: 6.301 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.5629, allocations: 118.9 kB / 1.478 GB, free: 6.184 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.563, allocations: 65.69 kB / 1.478 GB, free: 6.113 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5632, allocations: 338.8 kB / 1.478 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.5634, allocations: 119.7 kB / 1.478 GB, free: 5.656 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.5638, allocations: 265 kB / 1.478 GB, free: 5.363 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.001763/0.5655, allocations: 0.6832 MB / 1.479 GB, free: 4.676 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5655, allocations: 0 / 1.479 GB, free: 4.676 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006079/0.5661, allocations: 353 kB / 1.479 GB, free: 4.324 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5662, allocations: 4 kB / 1.479 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5662, allocations: 32 / 1.479 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.5662, allocations: 8 kB / 1.479 GB, free: 4.312 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.5665, allocations: 67.91 kB / 1.479 GB, free: 4.246 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.5665, allocations: 7.875 kB / 1.479 GB, free: 4.238 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.5668, allocations: 17.7 kB / 1.479 GB, free: 4.223 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.5668, allocations: 12 kB / 1.479 GB, free: 4.211 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.0002335/0.5671, allocations: 177.7 kB / 1.48 GB, free: 4.027 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.5672, allocations: 35.77 kB / 1.48 GB, free: 3.992 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.5673, allocations: 47.03 kB / 1.48 GB, free: 3.941 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5673, allocations: 8 kB / 1.48 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5673, allocations: 11.88 kB / 1.48 GB, free: 3.922 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005933/0.5679, allocations: 408.4 kB / 1.48 GB, free: 3.492 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.5695, allocations: 0.9356 MB / 1.481 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.5695, allocations: 4 kB / 1.481 GB, free: 2.469 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.5699, allocations: 83.89 kB / 1.481 GB, free: 2.387 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5699, allocations: 4 kB / 1.481 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.5699, allocations: 15.98 kB / 1.481 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5699, allocations: 4.469 kB / 1.481 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5699, allocations: 11.94 kB / 1.481 GB, free: 2.352 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.5709, allocations: 0.6806 MB / 1.482 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.5711, allocations: 63.8 kB / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.5711, allocations: 12 kB / 1.482 GB, free: 1.535 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.5715, allocations: 15.98 kB / 1.482 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.5716, allocations: 43.83 kB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.5716, allocations: 16.06 kB / 1.482 GB, free: 1.461 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001887/0.5718, allocations: 183.1 kB / 1.482 GB, free: 1.281 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5718, allocations: 0 / 1.482 GB, free: 1.281 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004719/0.5722, allocations: 116 kB / 1.482 GB, free: 1.168 MB / 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.0002968/0.5725, allocations: 150.7 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005995/0.5731, allocations: 289.9 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5731, allocations: 4 kB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.5734, allocations: 168.2 kB / 1.483 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.5744, allocations: 181.5 kB / 1.483 GB, free: 404 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.5762, allocations: 0.9949 MB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.5764, allocations: 214.2 kB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5765, allocations: 43.36 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of SimCode: time 7.91e-07/0.5765, allocations: 4 kB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of Templates: time 0.009008/0.5855, allocations: 5.545 MB / 1.49 GB, free: 9.535 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.420368200168014]