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.001895/0.001895, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002237/0.002237, allocations: 210.4 kB / 19.43 MB, free: 3.637 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 / 252.8 MB, free: 9.125 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.26/3.26, allocations: 0.4899 GB / 0.7915 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] 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.00206/0.00206, allocations: 66.69 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 176.1 MB / 1.321 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2038/0.5796, allocations: 163.5 MB / 1.481 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006288/0.5859, allocations: 3.824 MB / 1.485 GB, free: 10.89 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006657/0.5866, allocations: 19.88 kB / 1.485 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008402/0.5874, allocations: 190.7 kB / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.5901, allocations: 0.8751 MB / 1.486 GB, free: 9.805 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.5913, allocations: 429.5 kB / 1.486 GB, free: 9.391 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.5929, allocations: 1.026 MB / 1.487 GB, free: 8.359 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.5933, allocations: 252.9 kB / 1.487 GB, free: 8.109 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.5947, allocations: 0.6072 MB / 1.488 GB, free: 7.5 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.5957, allocations: 334.6 kB / 1.488 GB, free: 7.176 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.5958, allocations: 28 kB / 1.488 GB, free: 7.148 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.5973, allocations: 0.7521 MB / 1.489 GB, free: 6.395 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.5975, allocations: 163.5 kB / 1.489 GB, free: 6.234 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.5978, allocations: 218.9 kB / 1.489 GB, free: 6.02 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5992, allocations: 0.7552 MB / 1.49 GB, free: 5.262 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5992, allocations: 0 / 1.49 GB, free: 5.262 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5992, allocations: 0 / 1.49 GB, free: 5.262 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5992, allocations: 0 / 1.49 GB, free: 5.262 MB / 1.186 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.001325/0.6005, allocations: 0.755 MB / 1.491 GB, free: 4.457 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6006, allocations: 11.98 kB / 1.491 GB, free: 4.445 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6017, allocations: 147.6 kB / 1.491 GB, free: 4.301 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.6023, allocations: 406.6 kB / 1.491 GB, free: 3.863 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.6024, allocations: 28.66 kB / 1.491 GB, free: 3.836 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.6024, allocations: 31.98 kB / 1.492 GB, free: 3.805 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.6031, allocations: 326 kB / 1.492 GB, free: 3.477 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6031, allocations: 0 / 1.492 GB, free: 3.477 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.6031, allocations: 12 kB / 1.492 GB, free: 3.465 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.6031, allocations: 4 kB / 1.492 GB, free: 3.461 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.6037, allocations: 306.4 kB / 1.492 GB, free: 3.164 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.6056, allocations: 1.201 MB / 1.493 GB, free: 1.852 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.6061, allocations: 275.3 kB / 1.494 GB, free: 1.574 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.6065, allocations: 181.2 kB / 1.494 GB, free: 1.395 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.6068, allocations: 198.5 kB / 1.494 GB, free: 1.164 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.6068, allocations: 30.84 kB / 1.494 GB, free: 1.125 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.6068, allocations: 4 kB / 1.494 GB, free: 1.121 MB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002388/0.6092, allocations: 1.043 MB / 1.495 GB, free: 28 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.6093, allocations: 55.41 kB / 1.495 GB, free: 15.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.6097, allocations: 316.5 kB / 1.495 GB, free: 15.64 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.6097, allocations: 29.7 kB / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.6099, allocations: 176.9 kB / 1.496 GB, free: 15.43 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.61, allocations: 126.9 kB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.6101, allocations: 61.7 kB / 1.496 GB, free: 15.24 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.6104, allocations: 350.8 kB / 1.496 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.6106, allocations: 115.7 kB / 1.496 GB, free: 14.77 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.6109, allocations: 166.4 kB / 1.496 GB, free: 14.6 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.00198/0.6129, allocations: 0.7593 MB / 1.497 GB, free: 13.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6129, allocations: 0 / 1.497 GB, free: 13.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006812/0.6136, allocations: 364.8 kB / 1.497 GB, free: 13.46 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6136, allocations: 8.031 kB / 1.497 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6136, allocations: 4 kB / 1.497 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.6136, allocations: 3.938 kB / 1.497 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.614, allocations: 71.89 kB / 1.497 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.614, allocations: 0 / 1.497 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.6143, allocations: 12 kB / 1.498 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.6144, allocations: 15.98 kB / 1.498 GB, free: 13.34 MB / 1.201 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.0002418/0.6146, allocations: 174.4 kB / 1.498 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/0.6147, allocations: 43.77 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.6149, allocations: 48.06 kB / 1.498 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6149, allocations: 7.938 kB / 1.498 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6149, allocations: 0 / 1.498 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006617/0.6155, allocations: 400.2 kB / 1.498 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.6175, allocations: 1.078 MB / 1.499 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.6175, allocations: 4 kB / 1.499 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.6179, allocations: 79.83 kB / 1.499 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.6179, allocations: 8 kB / 1.499 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.6179, allocations: 8 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.618, allocations: 12.41 kB / 1.499 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.618, allocations: 11.94 kB / 1.499 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.619, allocations: 0.6875 MB / 1.5 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.6192, allocations: 148.8 kB / 1.5 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.6193, allocations: 15.94 kB / 1.5 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.6196, allocations: 15.98 kB / 1.5 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.6197, allocations: 35.97 kB / 1.5 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.6197, allocations: 19.94 kB / 1.5 GB, free: 10.34 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002637/0.62, allocations: 227 kB / 1.5 GB, free: 10.12 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.62, allocations: 0 / 1.5 GB, free: 10.12 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005006/0.6205, allocations: 116 kB / 1.501 GB, free: 10.01 MB / 1.201 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.0003329/0.6208, allocations: 147 kB / 1.501 GB, free: 9.852 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006352/0.6215, allocations: 296.4 kB / 1.501 GB, free: 9.562 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6215, allocations: 0 / 1.501 GB, free: 9.562 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.6218, allocations: 173.4 kB / 1.501 GB, free: 9.395 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.623, allocations: 222.4 kB / 1.501 GB, free: 9.184 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.6248, allocations: 0.9874 MB / 1.502 GB, free: 8.125 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.6253, allocations: 0.8235 MB / 1.503 GB, free: 7.273 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003254/0.6256, allocations: 111.2 kB / 1.503 GB, free: 7.168 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.6257, allocations: 31.44 kB / 1.503 GB, free: 7.137 MB / 1.201 GB Notification: Performance of SimCode: time 8.42e-07/0.6257, allocations: 0 / 1.503 GB, free: 7.137 MB / 1.201 GB Notification: Performance of Templates: time 0.01586/0.6416, allocations: 7.49 MB / 1.511 GB, free: 15.75 MB / 1.217 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/jenkins/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: 9.510403383057564]