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.001305/0.001305, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001463/0.001463, allocations: 209.7 kB / 23 MB, free: 4.934 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.469/1.469, 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.116/3.116, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.003259/0.003259, allocations: 76.55 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.382, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1742/0.5562, allocations: 141.1 MB / 1.465 GB, free: 3.391 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005326/0.5615, allocations: 3.549 MB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.5618, allocations: 19.81 kB / 1.468 GB, free: 15.81 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.5624, allocations: 182.7 kB / 1.469 GB, free: 15.63 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.5645, allocations: 0.8557 MB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.5655, allocations: 452.7 kB / 1.47 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.5668, allocations: 1.05 MB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.5673, allocations: 233.1 kB / 1.471 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5684, allocations: 0.6033 MB / 1.472 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008815/0.5693, allocations: 340.4 kB / 1.472 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.5693, allocations: 32 kB / 1.472 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.5704, allocations: 0.596 MB / 1.473 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.5706, allocations: 171.4 kB / 1.473 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.5708, allocations: 187.1 kB / 1.473 GB, free: 11.13 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.5719, allocations: 0.7357 MB / 1.474 GB, free: 10.39 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5719, allocations: 0 / 1.474 GB, free: 10.39 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5719, allocations: 0 / 1.474 GB, free: 10.39 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.5719, 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.001217/0.5731, allocations: 0.6759 MB / 1.474 GB, free: 9.684 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5731, allocations: 8.031 kB / 1.474 GB, free: 9.676 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.5742, allocations: 151.6 kB / 1.474 GB, free: 9.527 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.575, allocations: 340.1 kB / 1.475 GB, free: 9.164 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.575, allocations: 28.66 kB / 1.475 GB, free: 9.137 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.5751, allocations: 31.95 kB / 1.475 GB, free: 9.105 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.5758, allocations: 432.8 kB / 1.475 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5758, allocations: 4 kB / 1.475 GB, free: 8.648 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.5758, allocations: 15.98 kB / 1.475 GB, free: 8.633 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5758, allocations: 4 kB / 1.475 GB, free: 8.629 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.5764, allocations: 306.4 kB / 1.476 GB, free: 8.328 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.5781, allocations: 0.7969 MB / 1.476 GB, free: 7.496 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.5786, allocations: 275.3 kB / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.5789, allocations: 169.3 kB / 1.477 GB, free: 7.051 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.5791, allocations: 48.25 kB / 1.477 GB, free: 7.004 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.5791, allocations: 34.84 kB / 1.477 GB, free: 6.961 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.5791, allocations: 0 / 1.477 GB, free: 6.961 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002189/0.5813, allocations: 0.9549 MB / 1.478 GB, free: 5.973 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.5814, allocations: 55.41 kB / 1.478 GB, free: 5.906 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.5816, allocations: 264.2 kB / 1.478 GB, free: 5.645 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.5817, allocations: 33.7 kB / 1.478 GB, free: 5.605 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.5818, allocations: 180.7 kB / 1.478 GB, free: 5.426 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.5819, allocations: 130.9 kB / 1.478 GB, free: 5.297 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.5821, allocations: 61.7 kB / 1.478 GB, free: 5.23 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5822, allocations: 342.8 kB / 1.479 GB, free: 4.887 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.5825, allocations: 115.7 kB / 1.479 GB, free: 4.773 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.5828, allocations: 281 kB / 1.479 GB, free: 4.465 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.001868/0.5847, allocations: 0.6717 MB / 1.48 GB, free: 3.789 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5847, allocations: 0 / 1.48 GB, free: 3.789 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006285/0.5853, allocations: 357 kB / 1.48 GB, free: 3.434 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5853, allocations: 9.5 kB / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5854, allocations: 0 / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5854, allocations: 7.938 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.5857, allocations: 63.91 kB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.5857, allocations: 7.938 kB / 1.48 GB, free: 3.348 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.5861, allocations: 15.98 kB / 1.48 GB, free: 3.332 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.5861, allocations: 12 kB / 1.48 GB, free: 3.32 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.0002086/0.5863, allocations: 177.8 kB / 1.48 GB, free: 3.137 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.5864, allocations: 39.77 kB / 1.48 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.5865, allocations: 43.03 kB / 1.481 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006097/0.5871, allocations: 412.4 kB / 1.481 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5871, allocations: 0 / 1.481 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.5873, allocations: 63.7 kB / 1.481 GB, free: 2.555 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.5873, allocations: 8 kB / 1.481 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.5876, allocations: 8 kB / 1.481 GB, free: 2.539 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.5877, allocations: 31.89 kB / 1.481 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009449/0.5886, allocations: 464.4 kB / 1.481 GB, free: 2.047 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00101/0.5896, allocations: 0.687 MB / 1.482 GB, free: 1.344 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002638/0.5899, allocations: 147.7 kB / 1.482 GB, free: 1.199 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001852/0.5901, allocations: 191.1 kB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of Backend: time 4.81e-07/0.5901, allocations: 0 / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.5912, allocations: 405.1 kB / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of SimCode: time 0.001799/0.593, allocations: 1.283 MB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of Templates: time 0.01579/0.6088, allocations: 8.663 MB / 1.493 GB, free: 6.758 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: 8.99783865900099]