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.001639/0.001639, allocations: 92.42 kB / 19.69 MB, free: 2.137 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.002191/0.002191, allocations: 210.4 kB / 23 MB, free: 4.938 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.233/3.233, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.002049/0.002049, allocations: 66.64 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3069, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1728/0.4797, allocations: 141.1 MB / 1.465 GB, free: 3.398 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005409/0.4851, allocations: 3.538 MB / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.4854, allocations: 27.75 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.486, allocations: 182.7 kB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.4882, allocations: 0.8634 MB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.4892, allocations: 450.6 kB / 1.47 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.4906, allocations: 1.05 MB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.491, allocations: 229.1 kB / 1.471 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.4922, allocations: 0.6111 MB / 1.472 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009106/0.4931, allocations: 350.5 kB / 1.472 GB, free: 12.1 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.4932, allocations: 28 kB / 1.472 GB, free: 12.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.4943, allocations: 0.5922 MB / 1.473 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.4945, allocations: 163.5 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.4947, allocations: 183.2 kB / 1.473 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.4958, allocations: 0.7396 MB / 1.474 GB, free: 10.4 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4958, allocations: 4 kB / 1.474 GB, free: 10.39 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4958, allocations: 0 / 1.474 GB, free: 10.39 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.4958, allocations: 0 / 1.474 GB, free: 10.39 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.001195/0.497, allocations: 0.6719 MB / 1.474 GB, free: 9.691 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.497, allocations: 12.03 kB / 1.474 GB, free: 9.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.4981, allocations: 151.6 kB / 1.474 GB, free: 9.531 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.4988, allocations: 336.2 kB / 1.475 GB, free: 9.172 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.4989, allocations: 20.66 kB / 1.475 GB, free: 9.152 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.4989, allocations: 39.95 kB / 1.475 GB, free: 9.113 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.4996, allocations: 424.8 kB / 1.475 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4996, allocations: 0 / 1.475 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.4997, allocations: 19.98 kB / 1.475 GB, free: 8.648 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4997, allocations: 4 kB / 1.475 GB, free: 8.645 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.5002, allocations: 306.4 kB / 1.476 GB, free: 8.344 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.5019, allocations: 0.8086 MB / 1.476 GB, free: 7.5 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.5024, allocations: 271.4 kB / 1.477 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.5027, allocations: 175 kB / 1.477 GB, free: 7.055 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.5029, allocations: 40.27 kB / 1.477 GB, free: 7.016 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.5029, allocations: 34.83 kB / 1.477 GB, free: 6.973 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.5029, allocations: 3.938 kB / 1.477 GB, free: 6.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.00222/0.5052, allocations: 0.9626 MB / 1.478 GB, free: 5.973 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5052, allocations: 59.34 kB / 1.478 GB, free: 5.902 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.5055, allocations: 256.2 kB / 1.478 GB, free: 5.648 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.5055, allocations: 37.7 kB / 1.478 GB, free: 5.605 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.5056, allocations: 180.7 kB / 1.478 GB, free: 5.426 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.5058, allocations: 130.9 kB / 1.478 GB, free: 5.297 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.5059, allocations: 61.7 kB / 1.478 GB, free: 5.23 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.506, allocations: 342.8 kB / 1.479 GB, free: 4.887 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.5063, allocations: 119.7 kB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.5066, allocations: 265 kB / 1.479 GB, free: 4.477 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.001877/0.5085, allocations: 0.6846 MB / 1.48 GB, free: 3.789 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5085, allocations: 0 / 1.48 GB, free: 3.789 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006287/0.5091, allocations: 349.1 kB / 1.48 GB, free: 3.441 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5092, allocations: 4 kB / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5092, allocations: 0 / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5092, allocations: 4 kB / 1.48 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.5095, allocations: 67.94 kB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5095, allocations: 7.938 kB / 1.48 GB, free: 3.359 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.5099, allocations: 17.7 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.5099, allocations: 12 kB / 1.48 GB, free: 3.332 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.000208/0.5101, allocations: 173.7 kB / 1.48 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.5102, allocations: 35.77 kB / 1.48 GB, free: 3.117 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.5103, allocations: 47.03 kB / 1.48 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5103, allocations: 4 kB / 1.48 GB, free: 3.062 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5103, allocations: 11.88 kB / 1.481 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006342/0.5109, allocations: 412.4 kB / 1.481 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.5127, allocations: 0.9357 MB / 1.482 GB, free: 1.598 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5127, allocations: 4 kB / 1.482 GB, free: 1.594 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.5131, allocations: 79.89 kB / 1.482 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.5131, allocations: 11.94 kB / 1.482 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.5131, allocations: 8 kB / 1.482 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.5131, allocations: 11.94 kB / 1.482 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.5131, allocations: 4 kB / 1.482 GB, free: 1.48 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.5141, allocations: 0.6896 MB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.5143, allocations: 67.7 kB / 1.483 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.5144, allocations: 12 kB / 1.483 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.5147, allocations: 19.98 kB / 1.483 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.5148, allocations: 35.89 kB / 1.483 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.5148, allocations: 12 kB / 1.483 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001885/0.515, allocations: 191.1 kB / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.515, allocations: 0 / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004948/0.5155, allocations: 108 kB / 1.483 GB, free: 300 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.000291/0.5158, allocations: 159 kB / 1.483 GB, free: 132 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006381/0.5165, allocations: 288.1 kB / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5165, allocations: 0 / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.5168, allocations: 168.7 kB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5178, allocations: 173.7 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.5195, allocations: 0.9659 MB / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.5197, allocations: 226.2 kB / 1.485 GB, free: 14.24 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003054/0.52, allocations: 94.88 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5201, allocations: 31.44 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of SimCode: time 4.41e-07/0.5201, allocations: 4 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of Templates: time 0.01359/0.5337, allocations: 7.236 MB / 1.492 GB, free: 7.035 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 -s gbode -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: 9.299748877994716]