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.001584/0.001584, allocations: 116.5 kB / 17.13 MB, free: 5.945 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.0017/0.0017, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.869/2.869, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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.002009/0.002009, allocations: 67.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9397/0.9417, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.196/1.138, allocations: 163.5 MB / 1.482 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005592/1.143, allocations: 3.825 MB / 1.485 GB, free: 13.62 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/1.144, allocations: 19.69 kB / 1.485 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007058/1.144, allocations: 195.6 kB / 1.486 GB, free: 13.45 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002246/1.147, allocations: 0.8647 MB / 1.486 GB, free: 12.8 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/1.148, allocations: 432.5 kB / 1.487 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001504/1.149, allocations: 1.017 MB / 1.488 GB, free: 11.9 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/1.15, allocations: 257.4 kB / 1.488 GB, free: 11.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/1.151, allocations: 0.6065 MB / 1.489 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009583/1.152, allocations: 334.2 kB / 1.489 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/1.152, allocations: 31.31 kB / 1.489 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/1.153, allocations: 0.7507 MB / 1.49 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/1.154, allocations: 166.8 kB / 1.49 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/1.154, allocations: 208.7 kB / 1.49 GB, free: 10.51 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/1.155, allocations: 0.7672 MB / 1.491 GB, free: 10.02 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.155, allocations: 1.094 kB / 1.491 GB, free: 10.02 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/1.155, allocations: 0 / 1.491 GB, free: 10.02 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.155, allocations: 0 / 1.491 GB, free: 10.02 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.001257/1.156, allocations: 0.7493 MB / 1.492 GB, free: 9.383 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.157, allocations: 13.33 kB / 1.492 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.158, allocations: 144.4 kB / 1.492 GB, free: 9.316 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/1.158, allocations: 409.7 kB / 1.492 GB, free: 8.961 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/1.158, allocations: 21.03 kB / 1.492 GB, free: 8.953 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/1.158, allocations: 36.36 kB / 1.492 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/1.159, allocations: 326.7 kB / 1.493 GB, free: 8.746 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.159, allocations: 0 / 1.493 GB, free: 8.746 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/1.159, allocations: 12.06 kB / 1.493 GB, free: 8.738 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/1.159, allocations: 10.44 kB / 1.493 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00056/1.16, allocations: 303.4 kB / 1.493 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/1.161, allocations: 1.204 MB / 1.494 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/1.162, allocations: 270.2 kB / 1.494 GB, free: 7.43 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/1.162, allocations: 171.1 kB / 1.494 GB, free: 7.348 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/1.162, allocations: 199 kB / 1.495 GB, free: 7.141 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/1.162, allocations: 37.56 kB / 1.495 GB, free: 7.098 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/1.162, allocations: 0 / 1.495 GB, free: 7.098 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002253/1.165, allocations: 1.046 MB / 1.496 GB, free: 6.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.165, allocations: 54.62 kB / 1.496 GB, free: 6.367 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/1.165, allocations: 325.2 kB / 1.496 GB, free: 6.156 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/1.165, allocations: 31.89 kB / 1.496 GB, free: 6.121 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.165, allocations: 177.7 kB / 1.496 GB, free: 5.961 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/1.165, allocations: 130.3 kB / 1.496 GB, free: 5.848 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/1.166, allocations: 63.98 kB / 1.496 GB, free: 5.805 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.166, allocations: 342.9 kB / 1.497 GB, free: 5.469 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/1.166, allocations: 121.1 kB / 1.497 GB, free: 5.41 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/1.166, allocations: 157.7 kB / 1.497 GB, free: 5.324 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.001883/1.168, allocations: 0.7634 MB / 1.498 GB, free: 4.852 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.168, allocations: 0 / 1.498 GB, free: 4.852 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006379/1.169, allocations: 364.8 kB / 1.498 GB, free: 4.488 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.169, allocations: 9.406 kB / 1.498 GB, free: 4.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.169, allocations: 0 / 1.498 GB, free: 4.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.169, allocations: 7.938 kB / 1.498 GB, free: 4.473 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/1.169, allocations: 67.91 kB / 1.498 GB, free: 4.406 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.169, allocations: 7.984 kB / 1.498 GB, free: 4.398 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/1.169, allocations: 8 kB / 1.498 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/1.169, allocations: 16.02 kB / 1.498 GB, free: 4.375 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.0002081/1.17, allocations: 173.8 kB / 1.498 GB, free: 4.195 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/1.17, allocations: 39.77 kB / 1.498 GB, free: 4.156 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/1.17, allocations: 48.06 kB / 1.498 GB, free: 4.105 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.17, allocations: 7.938 kB / 1.498 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.17, allocations: 0 / 1.498 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005991/1.17, allocations: 412.2 kB / 1.499 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/1.172, allocations: 1.065 MB / 1.5 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/1.172, allocations: 4 kB / 1.5 GB, free: 2.492 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/1.173, allocations: 84.36 kB / 1.5 GB, free: 2.41 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.173, allocations: 8 kB / 1.5 GB, free: 2.402 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.173, allocations: 12 kB / 1.5 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/1.173, allocations: 7.938 kB / 1.5 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.173, allocations: 7.938 kB / 1.5 GB, free: 2.375 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/1.174, allocations: 0.6906 MB / 1.501 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/1.174, allocations: 144.8 kB / 1.501 GB, free: 1.465 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/1.174, allocations: 15.94 kB / 1.501 GB, free: 1.449 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/1.174, allocations: 15.98 kB / 1.501 GB, free: 1.434 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/1.174, allocations: 39.97 kB / 1.501 GB, free: 1.395 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/1.174, allocations: 15.94 kB / 1.501 GB, free: 1.379 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002518/1.175, allocations: 231 kB / 1.501 GB, free: 1.152 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.175, allocations: 0 / 1.501 GB, free: 1.152 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004947/1.175, allocations: 115.9 kB / 1.501 GB, free: 1.039 MB / 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.0002975/1.175, allocations: 156.2 kB / 1.501 GB, free: 0.875 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006183/1.176, allocations: 291.8 kB / 1.502 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.176, allocations: 0 / 1.502 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/1.176, allocations: 163.7 kB / 1.502 GB, free: 440 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.177, allocations: 220 kB / 1.502 GB, free: 224 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.179, allocations: 1.02 MB / 1.503 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/1.18, allocations: 0.8235 MB / 1.504 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.18, allocations: 35.44 kB / 1.504 GB, free: 14.23 MB / 1.186 GB Notification: Performance of SimCode: time 3.4e-07/1.18, allocations: 0 / 1.504 GB, free: 14.23 MB / 1.186 GB Notification: Performance of Templates: time 0.009171/1.189, allocations: 5.948 MB / 1.51 GB, free: 8.344 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.739567201002501]