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.001462/0.001462, allocations: 110.5 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.001619/0.001619, allocations: 216.7 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.319/1.319, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 179] 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 2.89/2.89, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.001877/0.001877, allocations: 75.12 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2823, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1711/0.4535, allocations: 163.7 MB / 1.514 GB, free: 3.672 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004936/0.4584, allocations: 3.849 MB / 1.518 GB, free: 15.81 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.4586, allocations: 19.81 kB / 1.518 GB, free: 15.79 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.4592, allocations: 190.7 kB / 1.518 GB, free: 15.61 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.4611, allocations: 0.8907 MB / 1.519 GB, free: 14.71 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.462, allocations: 448.5 kB / 1.519 GB, free: 14.28 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.4632, allocations: 1.05 MB / 1.52 GB, free: 13.23 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.4635, allocations: 241.1 kB / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4646, allocations: 0.6033 MB / 1.521 GB, free: 12.38 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.4654, allocations: 336.8 kB / 1.521 GB, free: 12.05 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.4654, allocations: 36 kB / 1.521 GB, free: 12.02 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.4669, allocations: 0.7638 MB / 1.522 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.4671, allocations: 159.5 kB / 1.522 GB, free: 11.1 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.4674, allocations: 218.9 kB / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.4687, allocations: 0.7552 MB / 1.523 GB, free: 10.12 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4687, allocations: 0 / 1.523 GB, free: 10.12 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4687, allocations: 7.938 kB / 1.523 GB, free: 10.12 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.4687, allocations: 0 / 1.523 GB, free: 10.12 MB / 1.217 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.001279/0.47, allocations: 0.6819 MB / 1.524 GB, free: 9.406 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.47, allocations: 8.031 kB / 1.524 GB, free: 9.398 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.4711, allocations: 151.6 kB / 1.524 GB, free: 9.25 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.4718, allocations: 340.2 kB / 1.524 GB, free: 8.891 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.4718, allocations: 20.66 kB / 1.524 GB, free: 8.871 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.4719, allocations: 32 kB / 1.524 GB, free: 8.84 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.4724, allocations: 326 kB / 1.525 GB, free: 8.512 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4724, allocations: 0 / 1.525 GB, free: 8.512 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.4725, allocations: 12 kB / 1.525 GB, free: 8.5 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.4725, allocations: 8 kB / 1.525 GB, free: 8.492 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.473, allocations: 310.4 kB / 1.525 GB, free: 8.191 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.4747, allocations: 1.17 MB / 1.526 GB, free: 6.918 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.4752, allocations: 279.4 kB / 1.526 GB, free: 6.637 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.4755, allocations: 169.3 kB / 1.527 GB, free: 6.469 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.4757, allocations: 44.23 kB / 1.527 GB, free: 6.426 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4757, allocations: 34.84 kB / 1.527 GB, free: 6.383 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.4757, allocations: 4 kB / 1.527 GB, free: 6.379 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.001952/0.4776, allocations: 0.9626 MB / 1.528 GB, free: 5.383 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4777, allocations: 59.41 kB / 1.528 GB, free: 5.312 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.478, allocations: 316.5 kB / 1.528 GB, free: 4.996 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.478, allocations: 29.7 kB / 1.528 GB, free: 4.961 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4782, allocations: 184.8 kB / 1.528 GB, free: 4.773 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.4783, allocations: 126.9 kB / 1.528 GB, free: 4.648 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.4784, allocations: 65.64 kB / 1.528 GB, free: 4.578 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4785, allocations: 342.8 kB / 1.529 GB, free: 4.234 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.4787, allocations: 111.9 kB / 1.529 GB, free: 4.125 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.479, allocations: 174 kB / 1.529 GB, free: 3.945 MB / 1.217 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.001657/0.4807, allocations: 0.6859 MB / 1.53 GB, free: 3.254 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4807, allocations: 0 / 1.53 GB, free: 3.254 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005737/0.4813, allocations: 353 kB / 1.53 GB, free: 2.902 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4813, allocations: 4 kB / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4813, allocations: 4 kB / 1.53 GB, free: 2.895 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4813, allocations: 3.938 kB / 1.53 GB, free: 2.891 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.4816, allocations: 71.94 kB / 1.53 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4816, allocations: 0 / 1.53 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.4819, allocations: 15.98 kB / 1.53 GB, free: 2.805 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.4819, allocations: 15.94 kB / 1.53 GB, free: 2.789 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.0001897/0.4821, allocations: 169.8 kB / 1.53 GB, free: 2.613 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.4822, allocations: 39.77 kB / 1.53 GB, free: 2.574 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.4823, allocations: 48.06 kB / 1.53 GB, free: 2.527 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.4823, allocations: 11.94 kB / 1.53 GB, free: 2.516 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4823, allocations: 0 / 1.53 GB, free: 2.516 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005876/0.4829, allocations: 420.3 kB / 1.531 GB, free: 2.074 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.4845, allocations: 1.037 MB / 1.532 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4845, allocations: 4 kB / 1.532 GB, free: 0.9375 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.4849, allocations: 71.91 kB / 1.532 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4849, allocations: 8 kB / 1.532 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.4849, allocations: 15.98 kB / 1.532 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.4849, allocations: 19.81 kB / 1.532 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4849, allocations: 4 kB / 1.532 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.4858, allocations: 0.6809 MB / 1.533 GB, free: 80 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.486, allocations: 71.83 kB / 1.533 GB, free: 8 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.4861, allocations: 23.92 kB / 1.533 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.4864, allocations: 13.22 kB / 1.533 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4865, allocations: 31.89 kB / 1.533 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.4865, allocations: 23.92 kB / 1.533 GB, free: 15.92 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002511/0.4867, allocations: 231 kB / 1.533 GB, free: 15.7 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4867, allocations: 4 kB / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004257/0.4872, allocations: 111.9 kB / 1.533 GB, free: 15.58 MB / 1.232 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.0002478/0.4874, allocations: 143.1 kB / 1.533 GB, free: 15.43 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.488, allocations: 298.2 kB / 1.533 GB, free: 15.14 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.488, allocations: 0 / 1.533 GB, free: 15.14 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.4882, allocations: 168.6 kB / 1.534 GB, free: 14.98 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4893, allocations: 218.8 kB / 1.534 GB, free: 14.77 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4909, allocations: 1.011 MB / 1.535 GB, free: 13.67 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4913, allocations: 0.8273 MB / 1.536 GB, free: 12.82 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4914, allocations: 39.44 kB / 1.536 GB, free: 12.78 MB / 1.232 GB Notification: Performance of SimCode: time 4.2e-07/0.4914, allocations: 0 / 1.536 GB, free: 12.78 MB / 1.232 GB Notification: Performance of Templates: time 0.008641/0.5001, allocations: 5.932 MB / 1.541 GB, free: 6.883 MB / 1.232 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/jenkins1/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: 11.141768614004832]