Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.001663/0.001663, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.001837/0.001837, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [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.00212/0.00212, allocations: 67.89 kB / 1.117 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3083, allocations: 169.9 MB / 1.283 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1966/0.5049, allocations: 157.9 MB / 1.437 GB, free: 5.102 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.522, allocations: 10.15 MB / 1.447 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.5243, allocations: 127 kB / 1.447 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005499/0.5298, allocations: 1.892 MB / 1.449 GB, free: 8.902 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.5344, allocations: 1.676 MB / 1.451 GB, free: 7.219 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.5369, allocations: 0.804 MB / 1.452 GB, free: 6.418 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004739/0.5416, allocations: 3.172 MB / 1.455 GB, free: 3.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.5431, allocations: 0.9573 MB / 1.456 GB, free: 2.238 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.5452, allocations: 1.19 MB / 1.457 GB, free: 1.043 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.5474, allocations: 1.147 MB / 1.458 GB, free: 15.89 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.5476, allocations: 128 kB / 1.458 GB, free: 15.77 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.5494, allocations: 0.7794 MB / 1.459 GB, free: 14.99 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005306/0.55, allocations: 493.9 kB / 1.459 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009996/0.551, allocations: 0.8273 MB / 1.46 GB, free: 13.67 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004848/0.5558, allocations: 3.486 MB / 1.464 GB, free: 10.17 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5558, allocations: 0 / 1.464 GB, free: 10.17 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5558, allocations: 0 / 1.464 GB, free: 10.17 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.121e-05/0.5558, allocations: 3.938 kB / 1.464 GB, free: 10.17 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004432/0.5603, allocations: 2.826 MB / 1.466 GB, free: 7.293 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.5603, allocations: 8.031 kB / 1.466 GB, free: 7.285 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5618, allocations: 398 kB / 1.467 GB, free: 6.895 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.5655, allocations: 1.939 MB / 1.469 GB, free: 4.902 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.5656, allocations: 58 kB / 1.469 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5657, allocations: 87.95 kB / 1.469 GB, free: 4.758 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5673, allocations: 1.033 MB / 1.47 GB, free: 3.66 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.5674, allocations: 7.938 kB / 1.47 GB, free: 3.652 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/0.5674, allocations: 32 kB / 1.47 GB, free: 3.621 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.5675, allocations: 32.94 kB / 1.47 GB, free: 3.59 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.5687, allocations: 0.6908 MB / 1.47 GB, free: 2.898 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005679/0.5744, allocations: 3.474 MB / 1.474 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.5749, allocations: 302.5 kB / 1.474 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.5752, allocations: 169.3 kB / 1.474 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.5753, allocations: 19.98 kB / 1.474 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.5753, allocations: 38.56 kB / 1.474 GB, free: 14.8 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.5753, allocations: 0 / 1.474 GB, free: 14.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=32): time 0.003078/0.5784, allocations: 1.574 MB / 1.476 GB, free: 13.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.5785, allocations: 55.41 kB / 1.476 GB, free: 13.11 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.5823, allocations: 2.745 MB / 1.479 GB, free: 10.36 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.5823, allocations: 33.7 kB / 1.479 GB, free: 10.32 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.5834, allocations: 1.065 MB / 1.48 GB, free: 9.246 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5836, allocations: 126.9 kB / 1.48 GB, free: 9.121 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.5838, allocations: 110.2 kB / 1.48 GB, free: 9.008 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5839, allocations: 326 kB / 1.48 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.5842, allocations: 169 kB / 1.48 GB, free: 8.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.5849, allocations: 455.3 kB / 1.481 GB, free: 7.969 MB / 1.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.5871, allocations: 0.9982 MB / 1.482 GB, free: 6.887 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5871, allocations: 4 kB / 1.482 GB, free: 6.883 MB / 1.186 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001333/0.5885, allocations: 0.786 MB / 1.483 GB, free: 6.086 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5885, allocations: 12 kB / 1.483 GB, free: 6.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5885, allocations: 8 kB / 1.483 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.5887, allocations: 60.81 kB / 1.483 GB, free: 6.004 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.5891, allocations: 99.84 kB / 1.483 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.5908, allocations: 1.727 MB / 1.484 GB, free: 4.082 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.5915, allocations: 32 kB / 1.484 GB, free: 4.051 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.5916, allocations: 24 kB / 1.484 GB, free: 4.027 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001102/0.5927, allocations: 0.7978 MB / 1.485 GB, free: 3.219 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.593, allocations: 226.5 kB / 1.485 GB, free: 2.996 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.5933, allocations: 242.2 kB / 1.486 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5933, allocations: 4 kB / 1.486 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5933, allocations: 0 / 1.486 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007619/0.5941, allocations: 0.6055 MB / 1.486 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.597, allocations: 1.785 MB / 1.488 GB, free: 216 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.597, allocations: 4.406 kB / 1.488 GB, free: 212 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.5973, allocations: 63.91 kB / 1.488 GB, free: 148 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.5975, allocations: 68.88 kB / 1.488 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.5975, allocations: 8 kB / 1.488 GB, free: 68 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.5991, allocations: 1.723 MB / 1.49 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.5991, allocations: 11.88 kB / 1.49 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.6004, allocations: 0.9193 MB / 1.491 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/0.6012, allocations: 335.5 kB / 1.491 GB, free: 12.92 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.6014, allocations: 8 kB / 1.491 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.6019, allocations: 15.98 kB / 1.491 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.602, allocations: 35.83 kB / 1.491 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.602, allocations: 19.94 kB / 1.491 GB, free: 12.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002763/0.6048, allocations: 1.93 MB / 1.493 GB, free: 10.91 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6048, allocations: 0 / 1.493 GB, free: 10.91 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009725/0.6057, allocations: 304.1 kB / 1.493 GB, free: 10.61 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002879/0.606, allocations: 154.5 kB / 1.494 GB, free: 10.45 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009116/0.6069, allocations: 0.5192 MB / 1.494 GB, free: 9.922 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.6069, allocations: 4 kB / 1.494 GB, free: 9.918 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.6074, allocations: 290.4 kB / 1.494 GB, free: 9.621 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.6106, allocations: 0.8665 MB / 1.495 GB, free: 8.781 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.617, allocations: 4.184 MB / 1.499 GB, free: 4.52 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.6186, allocations: 1.384 MB / 1.501 GB, free: 3.09 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009478/0.6196, allocations: 309.3 kB / 1.501 GB, free: 2.781 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.6198, allocations: 99.44 kB / 1.501 GB, free: 2.684 MB / 1.201 GB Notification: Performance of SimCode: time 7.72e-07/0.6198, allocations: 0 / 1.501 GB, free: 2.684 MB / 1.201 GB Notification: Performance of Templates: time 0.05382/0.6736, allocations: 31.91 MB / 1.532 GB, free: 3.438 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.224553631618619]