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.001269/0.001269, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001367/0.001367, allocations: 213.1 kB / 23.01 MB, free: 4.566 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 8.031 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 2.901/2.901, allocations: 0.49 GB / 0.7958 GB, free: 33.43 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.001859/0.001859, allocations: 67.31 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2765, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1784/0.4549, allocations: 163.7 MB / 1.487 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.46, allocations: 3.851 MB / 1.491 GB, free: 9.273 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.4602, allocations: 19.81 kB / 1.491 GB, free: 9.254 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.4608, allocations: 190.7 kB / 1.491 GB, free: 9.066 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.4627, allocations: 0.8829 MB / 1.492 GB, free: 8.18 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.4636, allocations: 452.7 kB / 1.492 GB, free: 7.742 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.4649, allocations: 1.054 MB / 1.493 GB, free: 6.68 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.4652, allocations: 233.1 kB / 1.493 GB, free: 6.449 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.4663, allocations: 0.6111 MB / 1.494 GB, free: 5.836 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008792/0.4672, allocations: 342.6 kB / 1.494 GB, free: 5.504 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.573e-05/0.4673, allocations: 36 kB / 1.494 GB, free: 5.469 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4685, allocations: 0.7599 MB / 1.495 GB, free: 4.707 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.4687, allocations: 163.5 kB / 1.495 GB, free: 4.547 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.4689, allocations: 219 kB / 1.496 GB, free: 4.332 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.47, allocations: 0.759 MB / 1.496 GB, free: 3.57 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.47, allocations: 0 / 1.496 GB, free: 3.57 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/0.47, allocations: 0 / 1.496 GB, free: 3.57 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.47, allocations: 0 / 1.496 GB, free: 3.57 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.001096/0.4711, allocations: 0.672 MB / 1.497 GB, free: 2.867 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4712, allocations: 12.03 kB / 1.497 GB, free: 2.855 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4722, allocations: 151.6 kB / 1.497 GB, free: 2.707 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.4728, allocations: 336.2 kB / 1.497 GB, free: 2.348 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.4728, allocations: 20.66 kB / 1.497 GB, free: 2.328 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.4729, allocations: 39.95 kB / 1.497 GB, free: 2.289 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.4734, allocations: 329.9 kB / 1.498 GB, free: 1.961 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4734, allocations: 3.938 kB / 1.498 GB, free: 1.957 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.4734, allocations: 16 kB / 1.498 GB, free: 1.941 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4735, allocations: 4 kB / 1.498 GB, free: 1.938 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.474, allocations: 310.4 kB / 1.498 GB, free: 1.633 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.4757, allocations: 1.17 MB / 1.499 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.4762, allocations: 267.5 kB / 1.499 GB, free: 92 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.4765, allocations: 178.6 kB / 1.5 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.4767, allocations: 32.27 kB / 1.5 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.4767, allocations: 42.77 kB / 1.5 GB, free: 15.83 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.4767, allocations: 4 kB / 1.5 GB, free: 15.83 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002006/0.4787, allocations: 0.9626 MB / 1.501 GB, free: 14.83 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4787, allocations: 63.39 kB / 1.501 GB, free: 14.76 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.4791, allocations: 312.5 kB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.4791, allocations: 33.7 kB / 1.501 GB, free: 14.41 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.4792, allocations: 180.8 kB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.4793, allocations: 126.9 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.4794, allocations: 57.7 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4796, allocations: 350.8 kB / 1.502 GB, free: 13.69 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.4798, allocations: 115.7 kB / 1.502 GB, free: 13.58 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.4801, allocations: 166.9 kB / 1.502 GB, free: 13.41 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.001682/0.4818, allocations: 0.6816 MB / 1.503 GB, free: 12.72 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.4818, allocations: 4 kB / 1.503 GB, free: 12.71 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005956/0.4824, allocations: 357 kB / 1.503 GB, free: 12.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4824, allocations: 7.938 kB / 1.503 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4824, allocations: 0 / 1.503 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.4824, allocations: 7.938 kB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.4827, allocations: 71.92 kB / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4827, allocations: 0 / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.483, allocations: 12 kB / 1.503 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.4831, allocations: 15.98 kB / 1.503 GB, free: 12.25 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.0002066/0.4833, allocations: 177.7 kB / 1.503 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.4833, allocations: 39.77 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.4834, allocations: 48.06 kB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/0.4835, allocations: 11.94 kB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4835, allocations: 0 / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005692/0.484, allocations: 404.4 kB / 1.504 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.4857, allocations: 1.034 MB / 1.505 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4857, allocations: 7.938 kB / 1.505 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.486, allocations: 83.83 kB / 1.505 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.4861, allocations: 15.94 kB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.4861, allocations: 8 kB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.4861, allocations: 15.92 kB / 1.505 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.4861, allocations: 7.938 kB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.4871, allocations: 0.6853 MB / 1.506 GB, free: 9.527 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.4872, allocations: 71.8 kB / 1.506 GB, free: 9.457 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.4873, allocations: 15.94 kB / 1.506 GB, free: 9.441 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.4876, allocations: 15.98 kB / 1.506 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.4876, allocations: 31.89 kB / 1.506 GB, free: 9.395 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.4877, allocations: 19.94 kB / 1.506 GB, free: 9.375 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002295/0.4879, allocations: 227 kB / 1.506 GB, free: 9.152 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4879, allocations: 8 kB / 1.506 GB, free: 9.145 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004385/0.4883, allocations: 115.9 kB / 1.506 GB, free: 9.031 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.0002608/0.4886, allocations: 151.1 kB / 1.506 GB, free: 8.871 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.4892, allocations: 292.1 kB / 1.507 GB, free: 8.586 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4892, allocations: 0 / 1.507 GB, free: 8.586 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.4894, allocations: 164.7 kB / 1.507 GB, free: 8.426 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4905, allocations: 222.9 kB / 1.507 GB, free: 8.215 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4921, allocations: 0.9988 MB / 1.508 GB, free: 7.137 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.4925, allocations: 0.8235 MB / 1.509 GB, free: 6.285 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.4926, allocations: 39.42 kB / 1.509 GB, free: 6.246 MB / 1.201 GB Notification: Performance of SimCode: time 3.91e-07/0.4926, allocations: 0 / 1.509 GB, free: 6.246 MB / 1.201 GB Notification: Performance of Templates: time 0.008547/0.5012, allocations: 5.935 MB / 1.514 GB, free: 364 kB / 1.201 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: 11.132638101000339]