Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001448/0.001448, 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.001541/0.001541, allocations: 206.7 kB / 22.24 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.437/3.437, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002063/0.002063, allocations: 65.86 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2034/0.5933, allocations: 141.1 MB / 1.502 GB, free: 4 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0059/0.5992, allocations: 3.558 MB / 1.505 GB, free: 12.44 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.5996, allocations: 19.81 kB / 1.505 GB, free: 12.42 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.6003, allocations: 178.7 kB / 1.505 GB, free: 12.24 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.6028, allocations: 0.8596 MB / 1.506 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.6039, allocations: 436 kB / 1.507 GB, free: 10.96 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.6052, allocations: 1.038 MB / 1.508 GB, free: 9.914 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.6056, allocations: 241.1 kB / 1.508 GB, free: 9.676 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.6067, allocations: 0.5994 MB / 1.508 GB, free: 9.074 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009571/0.6077, allocations: 326.7 kB / 1.509 GB, free: 8.754 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.6077, allocations: 36 kB / 1.509 GB, free: 8.719 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.6089, allocations: 0.5921 MB / 1.509 GB, free: 8.125 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.6091, allocations: 163.5 kB / 1.509 GB, free: 7.965 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.6093, allocations: 179.2 kB / 1.51 GB, free: 7.789 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.6104, allocations: 0.7435 MB / 1.51 GB, free: 7.043 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6104, allocations: 0 / 1.51 GB, free: 7.043 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6104, allocations: 0 / 1.51 GB, free: 7.043 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.6104, allocations: 3.938 kB / 1.51 GB, free: 7.039 MB / 1.201 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.001165/0.6116, allocations: 0.6734 MB / 1.511 GB, free: 6.336 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6116, allocations: 8.031 kB / 1.511 GB, free: 6.328 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.6126, allocations: 147.6 kB / 1.511 GB, free: 6.184 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.6133, allocations: 344.1 kB / 1.511 GB, free: 5.82 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.6133, allocations: 20.66 kB / 1.511 GB, free: 5.801 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.6134, allocations: 31.94 kB / 1.512 GB, free: 5.77 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.614, allocations: 436.8 kB / 1.512 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.614, allocations: 0 / 1.512 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.6141, allocations: 12 kB / 1.512 GB, free: 5.301 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6141, allocations: 8 kB / 1.512 GB, free: 5.293 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.6146, allocations: 306.4 kB / 1.512 GB, free: 4.992 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.6162, allocations: 0.8046 MB / 1.513 GB, free: 4.152 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.6167, allocations: 271.4 kB / 1.513 GB, free: 3.879 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.617, allocations: 173.3 kB / 1.513 GB, free: 3.707 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.6172, allocations: 36.25 kB / 1.513 GB, free: 3.672 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.6173, allocations: 42.78 kB / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.6173, allocations: 0 / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002155/0.6194, allocations: 0.951 MB / 1.514 GB, free: 2.637 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.6195, allocations: 63.34 kB / 1.515 GB, free: 2.562 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.6197, allocations: 256.2 kB / 1.515 GB, free: 2.305 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.6198, allocations: 33.7 kB / 1.515 GB, free: 2.266 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.6199, allocations: 184.7 kB / 1.515 GB, free: 2.082 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.62, allocations: 130.9 kB / 1.515 GB, free: 1.953 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.6202, allocations: 65.59 kB / 1.515 GB, free: 1.883 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6203, allocations: 338.8 kB / 1.515 GB, free: 1.543 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.6205, allocations: 115.9 kB / 1.516 GB, free: 1.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.6209, allocations: 273 kB / 1.516 GB, free: 1.129 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.001775/0.6227, allocations: 0.6828 MB / 1.517 GB, free: 452 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6227, allocations: 0 / 1.517 GB, free: 452 kB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006131/0.6233, allocations: 360.9 kB / 1.517 GB, free: 84 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6233, allocations: 7.984 kB / 1.517 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6233, allocations: 7.984 kB / 1.517 GB, free: 68 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6233, allocations: 0 / 1.517 GB, free: 68 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.6236, allocations: 67.84 kB / 1.517 GB, free: 0 / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.6237, allocations: 4.141 kB / 1.517 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.624, allocations: 19.98 kB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.624, allocations: 8 kB / 1.517 GB, free: 15.96 MB / 1.217 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.0002037/0.6242, allocations: 177.8 kB / 1.517 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.6243, allocations: 31.81 kB / 1.517 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.6244, allocations: 47.03 kB / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6244, allocations: 4 kB / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6244, allocations: 3.938 kB / 1.517 GB, free: 15.69 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005991/0.625, allocations: 404.2 kB / 1.518 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.6267, allocations: 0.9378 MB / 1.519 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6267, allocations: 4 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.627, allocations: 92.3 kB / 1.519 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.6271, allocations: 4 kB / 1.519 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.6271, allocations: 12 kB / 1.519 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.6271, allocations: 4 kB / 1.519 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.6271, allocations: 7.938 kB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.6281, allocations: 0.6842 MB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.6283, allocations: 63.84 kB / 1.519 GB, free: 13.32 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.6283, allocations: 11.98 kB / 1.519 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.6286, allocations: 15.95 kB / 1.519 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.6287, allocations: 39.83 kB / 1.519 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.6288, allocations: 19.98 kB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001882/0.6289, allocations: 187.1 kB / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6289, allocations: 0 / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004758/0.6294, allocations: 108 kB / 1.52 GB, free: 12.94 MB / 1.217 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.0003145/0.6297, allocations: 143.1 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006183/0.6304, allocations: 299.8 kB / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6304, allocations: 4 kB / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.6306, allocations: 155.7 kB / 1.52 GB, free: 12.34 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6317, allocations: 194.4 kB / 1.521 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.6334, allocations: 0.9681 MB / 1.521 GB, free: 11.13 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.6337, allocations: 226.1 kB / 1.522 GB, free: 10.89 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002919/0.634, allocations: 90.89 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.6341, allocations: 35.38 kB / 1.522 GB, free: 10.76 MB / 1.217 GB Notification: Performance of SimCode: time 5.41e-07/0.6341, allocations: 0 / 1.522 GB, free: 10.76 MB / 1.217 GB Notification: Performance of Templates: time 0.01377/0.6478, allocations: 7.133 MB / 1.529 GB, free: 3.789 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.82990469224751]