Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002147/0.002147, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001581/0.001581, allocations: 211 kB / 22.24 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.857/2.857, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002139/0.002139, allocations: 69.09 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.373, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1965/0.5695, allocations: 141 MB / 1.421 GB, free: 14.32 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005967/0.5754, allocations: 3.533 MB / 1.424 GB, free: 10.78 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.5759, allocations: 15.88 kB / 1.424 GB, free: 10.76 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.5765, allocations: 190.7 kB / 1.424 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.579, allocations: 0.8557 MB / 1.425 GB, free: 9.715 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.5801, allocations: 439.2 kB / 1.426 GB, free: 9.289 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.5818, allocations: 1.046 MB / 1.427 GB, free: 8.242 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.5822, allocations: 235.9 kB / 1.427 GB, free: 8.008 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008782/0.5831, allocations: 422.4 kB / 1.427 GB, free: 7.594 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.5841, allocations: 333.8 kB / 1.428 GB, free: 7.27 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.5842, allocations: 32 kB / 1.428 GB, free: 7.238 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.5856, allocations: 0.6076 MB / 1.428 GB, free: 6.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.586, allocations: 159.6 kB / 1.428 GB, free: 6.473 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.5862, allocations: 179.2 kB / 1.429 GB, free: 6.297 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.5876, allocations: 0.7473 MB / 1.429 GB, free: 5.547 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5876, allocations: 0 / 1.429 GB, free: 5.547 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5876, allocations: 0 / 1.429 GB, free: 5.547 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5876, allocations: 4 kB / 1.429 GB, free: 5.543 MB / 1.123 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.001275/0.5888, allocations: 0.672 MB / 1.43 GB, free: 4.84 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5889, allocations: 8.031 kB / 1.43 GB, free: 4.832 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.59, allocations: 147.6 kB / 1.43 GB, free: 4.688 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.5907, allocations: 340.2 kB / 1.43 GB, free: 4.328 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.5907, allocations: 24.66 kB / 1.43 GB, free: 4.305 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.5908, allocations: 28 kB / 1.43 GB, free: 4.277 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.5915, allocations: 440.7 kB / 1.431 GB, free: 3.812 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.5915, allocations: 0 / 1.431 GB, free: 3.812 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.5916, allocations: 12 kB / 1.431 GB, free: 3.801 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5916, allocations: 8 kB / 1.431 GB, free: 3.793 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/0.5922, allocations: 306.4 kB / 1.431 GB, free: 3.496 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.5939, allocations: 0.8085 MB / 1.432 GB, free: 2.652 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.5944, allocations: 271.4 kB / 1.432 GB, free: 2.379 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.5947, allocations: 175.4 kB / 1.432 GB, free: 2.207 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.595, allocations: 36.27 kB / 1.432 GB, free: 2.172 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.595, allocations: 42.78 kB / 1.433 GB, free: 2.121 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 1.442e-06/0.595, allocations: 0 / 1.433 GB, free: 2.121 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.002269/0.5973, allocations: 0.9559 MB / 1.433 GB, free: 1.133 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5973, allocations: 59.34 kB / 1.434 GB, free: 1.062 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.5977, allocations: 260.2 kB / 1.434 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.5977, allocations: 37.64 kB / 1.434 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.5979, allocations: 180.7 kB / 1.434 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.598, allocations: 126.9 kB / 1.434 GB, free: 464 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5981, allocations: 61.7 kB / 1.434 GB, free: 396 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5983, allocations: 346.8 kB / 1.434 GB, free: 40 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.5985, allocations: 111.9 kB / 1.435 GB, free: 15.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.5989, allocations: 274.8 kB / 1.435 GB, free: 15.63 MB / 1.139 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.001812/0.6007, allocations: 0.685 MB / 1.436 GB, free: 14.94 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6007, allocations: 4 kB / 1.436 GB, free: 14.94 MB / 1.139 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006287/0.6013, allocations: 353 kB / 1.436 GB, free: 14.59 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.6014, allocations: 4 kB / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6014, allocations: 0 / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6014, allocations: 4 kB / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.6017, allocations: 63.91 kB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6018, allocations: 3.938 kB / 1.436 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.6021, allocations: 15.98 kB / 1.436 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.6021, allocations: 16.03 kB / 1.436 GB, free: 14.48 MB / 1.139 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.0002305/0.6023, allocations: 173.8 kB / 1.436 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.6024, allocations: 35.77 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.6025, allocations: 43.03 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.6025, allocations: 4 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.6025, allocations: 3.938 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006162/0.6032, allocations: 412.4 kB / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.605, allocations: 0.9434 MB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.605, allocations: 4.469 kB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.6054, allocations: 87.83 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6054, allocations: 4 kB / 1.438 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.6054, allocations: 16 kB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6054, allocations: 4 kB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.6054, allocations: 7.938 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.6065, allocations: 0.6836 MB / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.6067, allocations: 67.75 kB / 1.438 GB, free: 11.81 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.6067, allocations: 16 kB / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.607, allocations: 15.98 kB / 1.438 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.6071, allocations: 39.83 kB / 1.438 GB, free: 11.74 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.6072, allocations: 23.94 kB / 1.438 GB, free: 11.72 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001805/0.6074, allocations: 183.1 kB / 1.439 GB, free: 11.54 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6074, allocations: 0 / 1.439 GB, free: 11.54 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004834/0.6078, allocations: 108 kB / 1.439 GB, free: 11.44 MB / 1.139 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.0002966/0.6081, allocations: 151.1 kB / 1.439 GB, free: 11.28 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.6088, allocations: 291.6 kB / 1.439 GB, free: 11 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6088, allocations: 4 kB / 1.439 GB, free: 10.99 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.6091, allocations: 158 kB / 1.439 GB, free: 10.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.6102, allocations: 186.4 kB / 1.439 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.612, allocations: 0.9748 MB / 1.44 GB, free: 9.617 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.6122, allocations: 226.2 kB / 1.441 GB, free: 9.379 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.6125, allocations: 90.89 kB / 1.441 GB, free: 9.289 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.6126, allocations: 31.44 kB / 1.441 GB, free: 9.258 MB / 1.139 GB Notification: Performance of SimCode: time 5.71e-07/0.6126, allocations: 0 / 1.441 GB, free: 9.258 MB / 1.139 GB Notification: Performance of Templates: time 0.01449/0.6271, allocations: 7.148 MB / 1.448 GB, free: 2.285 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.653707595542073]