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.001617/0.001617, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.00179/0.00179, allocations: 214.8 kB / 23.04 MB, free: 4.863 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.111/3.111, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002135/0.002135, allocations: 64.16 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1894/0.5842, allocations: 141.1 MB / 1.465 GB, free: 3.371 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005815/0.5901, allocations: 3.542 MB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.5905, allocations: 19.81 kB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.5913, allocations: 190.7 kB / 1.469 GB, free: 15.61 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.5938, allocations: 0.8557 MB / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.5952, allocations: 441.7 kB / 1.47 GB, free: 14.32 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.5975, allocations: 1.042 MB / 1.471 GB, free: 13.27 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006143/0.5981, allocations: 233.1 kB / 1.471 GB, free: 13.04 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.5999, allocations: 0.5995 MB / 1.472 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.601, allocations: 322.5 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.6011, allocations: 35.94 kB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.6025, allocations: 0.596 MB / 1.473 GB, free: 11.49 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.6027, allocations: 159.6 kB / 1.473 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.603, allocations: 183.2 kB / 1.473 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.6043, allocations: 0.7435 MB / 1.474 GB, free: 10.41 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.6043, allocations: 0 / 1.474 GB, free: 10.41 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6043, allocations: 0 / 1.474 GB, free: 10.41 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.067e-05/0.6043, allocations: 0 / 1.474 GB, free: 10.41 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.001408/0.6057, allocations: 0.673 MB / 1.474 GB, free: 9.707 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6057, allocations: 12.03 kB / 1.474 GB, free: 9.695 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.6068, allocations: 155.5 kB / 1.474 GB, free: 9.543 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.6075, allocations: 336.2 kB / 1.475 GB, free: 9.184 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.6075, allocations: 28.59 kB / 1.475 GB, free: 9.156 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.6076, allocations: 35.95 kB / 1.475 GB, free: 9.121 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/0.6083, allocations: 424.8 kB / 1.475 GB, free: 8.676 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6083, allocations: 8 kB / 1.475 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.6083, allocations: 12 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.6083, allocations: 8 kB / 1.475 GB, free: 8.648 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.6089, allocations: 302.4 kB / 1.476 GB, free: 8.352 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.6106, allocations: 0.7969 MB / 1.476 GB, free: 7.52 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.6111, allocations: 271.3 kB / 1.477 GB, free: 7.246 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.6114, allocations: 177.2 kB / 1.477 GB, free: 7.07 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.6117, allocations: 44.27 kB / 1.477 GB, free: 7.027 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.6117, allocations: 34.84 kB / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.6117, allocations: 0 / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002295/0.614, allocations: 0.9549 MB / 1.478 GB, free: 5.996 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.614, allocations: 59.34 kB / 1.478 GB, free: 5.926 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.6144, allocations: 264.2 kB / 1.478 GB, free: 5.66 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.6144, allocations: 33.7 kB / 1.478 GB, free: 5.621 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.6146, allocations: 184.6 kB / 1.478 GB, free: 5.438 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.6147, allocations: 130.9 kB / 1.478 GB, free: 5.309 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.6148, allocations: 61.7 kB / 1.478 GB, free: 5.242 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.615, allocations: 342.8 kB / 1.479 GB, free: 4.898 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.6152, allocations: 115.7 kB / 1.479 GB, free: 4.785 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.6156, allocations: 269 kB / 1.479 GB, free: 4.488 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.001828/0.6174, allocations: 0.6915 MB / 1.48 GB, free: 3.793 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6174, allocations: 0 / 1.48 GB, free: 3.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006391/0.6181, allocations: 353 kB / 1.48 GB, free: 3.441 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6181, allocations: 4 kB / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6181, allocations: 0 / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.6181, allocations: 4 kB / 1.48 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.6184, allocations: 67.91 kB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6185, allocations: 3.938 kB / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.6188, allocations: 19.98 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.6188, 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.0002427/0.6191, allocations: 177.8 kB / 1.48 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.6191, allocations: 35.77 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.6193, allocations: 47.03 kB / 1.481 GB, free: 3.062 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6193, allocations: 4 kB / 1.481 GB, free: 3.059 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.6193, allocations: 3.938 kB / 1.481 GB, free: 3.055 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006004/0.6199, allocations: 412.4 kB / 1.481 GB, free: 2.621 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.6215, allocations: 0.941 MB / 1.482 GB, free: 1.598 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.6215, allocations: 4 kB / 1.482 GB, free: 1.594 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.6219, allocations: 80.36 kB / 1.482 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.6219, allocations: 8 kB / 1.482 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.6219, allocations: 12 kB / 1.482 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.6219, allocations: 4 kB / 1.482 GB, free: 1.492 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.622, allocations: 7.938 kB / 1.482 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.623, allocations: 0.6807 MB / 1.483 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.6231, allocations: 63.77 kB / 1.483 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.6232, allocations: 16.06 kB / 1.483 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.6235, allocations: 19.98 kB / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.6236, allocations: 39.77 kB / 1.483 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.6236, allocations: 12 kB / 1.483 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001878/0.6238, allocations: 187.1 kB / 1.483 GB, free: 420 kB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6238, allocations: 0 / 1.483 GB, free: 420 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.000475/0.6243, allocations: 108 kB / 1.483 GB, free: 312 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.0003113/0.6246, allocations: 155.1 kB / 1.483 GB, free: 148 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.6252, allocations: 296.1 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6252, allocations: 3.938 kB / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.6255, allocations: 161.5 kB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6265, allocations: 196.8 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.001722/0.6282, allocations: 0.991 MB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.6285, allocations: 218.2 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.6286, allocations: 31.44 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of SimCode: time 5.01e-07/0.6286, allocations: 0 / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of Templates: time 0.009037/0.6376, allocations: 5.561 MB / 1.49 GB, free: 8.652 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.51820945716463]