Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001658/0.001658, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001895/0.001895, allocations: 212.6 kB / 22.99 MB, free: 4.941 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.549/3.549, allocations: 0.4892 GB / 0.7951 GB, free: 35.69 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_12_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_12_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.002106/0.002106, allocations: 72.09 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4011, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2346/0.6358, allocations: 158 MB / 1.481 GB, free: 3.215 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.6556, allocations: 10.16 MB / 1.491 GB, free: 9.035 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004018/0.6596, allocations: 127 kB / 1.491 GB, free: 8.91 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006703/0.6663, allocations: 1.884 MB / 1.493 GB, free: 7.016 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006259/0.6725, allocations: 1.682 MB / 1.494 GB, free: 5.324 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.6756, allocations: 0.7978 MB / 1.495 GB, free: 4.527 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006172/0.6818, allocations: 3.183 MB / 1.498 GB, free: 1.336 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.6837, allocations: 0.9496 MB / 1.499 GB, free: 364 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.6866, allocations: 1.334 MB / 1.5 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.6897, allocations: 1.138 MB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.6901, allocations: 132 kB / 1.502 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.6924, allocations: 0.7755 MB / 1.502 GB, free: 12.97 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006793/0.6931, allocations: 497.9 kB / 1.503 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.6945, allocations: 0.8234 MB / 1.504 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.7004, allocations: 3.486 MB / 1.507 GB, free: 8.156 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7004, allocations: 0 / 1.507 GB, free: 8.156 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7004, allocations: 3.938 kB / 1.507 GB, free: 8.152 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.649e-05/0.7005, allocations: 3.938 kB / 1.507 GB, free: 8.148 MB / 1.201 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.005709/0.7062, allocations: 2.826 MB / 1.51 GB, free: 5.273 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7062, allocations: 12.03 kB / 1.51 GB, free: 5.262 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.708, allocations: 390 kB / 1.51 GB, free: 4.879 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.7125, allocations: 1.951 MB / 1.512 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.7126, allocations: 58 kB / 1.512 GB, free: 2.812 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.7127, allocations: 72 kB / 1.512 GB, free: 2.742 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.7146, allocations: 1.045 MB / 1.513 GB, free: 1.629 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.7146, allocations: 3.938 kB / 1.513 GB, free: 1.625 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.7147, allocations: 32 kB / 1.513 GB, free: 1.594 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.7147, allocations: 28.94 kB / 1.513 GB, free: 1.566 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.716, allocations: 0.6908 MB / 1.514 GB, free: 0.875 MB / 1.201 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.006903/0.7229, allocations: 3.478 MB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.7234, allocations: 301.4 kB / 1.518 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.7237, allocations: 168.8 kB / 1.518 GB, free: 12.85 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.7239, allocations: 19.98 kB / 1.518 GB, free: 12.83 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.7239, allocations: 38.56 kB / 1.518 GB, free: 12.79 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.375e-06/0.7239, allocations: 4 kB / 1.518 GB, free: 12.78 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003701/0.7276, allocations: 1.589 MB / 1.519 GB, free: 11.15 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.7277, allocations: 51.41 kB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/0.7321, allocations: 2.741 MB / 1.522 GB, free: 8.332 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/0.7321, allocations: 37.7 kB / 1.522 GB, free: 8.289 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.7333, allocations: 1.058 MB / 1.523 GB, free: 7.223 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.7335, allocations: 123 kB / 1.523 GB, free: 7.102 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.7337, allocations: 106.2 kB / 1.523 GB, free: 6.988 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.7339, allocations: 330 kB / 1.524 GB, free: 6.66 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.7342, allocations: 165 kB / 1.524 GB, free: 6.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.7347, allocations: 448 kB / 1.524 GB, free: 5.961 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: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.7371, allocations: 1.003 MB / 1.525 GB, free: 4.871 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7371, allocations: 4 kB / 1.525 GB, free: 4.867 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001696/0.7388, allocations: 0.7902 MB / 1.526 GB, free: 4.066 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.7388, allocations: 8 kB / 1.526 GB, free: 4.059 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7388, allocations: 4 kB / 1.526 GB, free: 4.055 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.739, allocations: 68.81 kB / 1.526 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.7394, allocations: 99.84 kB / 1.526 GB, free: 3.887 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.7414, allocations: 1.732 MB / 1.528 GB, free: 2.059 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.7425, allocations: 29.5 kB / 1.528 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.7426, allocations: 24 kB / 1.528 GB, free: 2.008 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: 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.001532/0.7441, allocations: 0.7978 MB / 1.529 GB, free: 1.199 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.7445, allocations: 226.5 kB / 1.529 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.745, allocations: 242.2 kB / 1.529 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.745, allocations: 4 kB / 1.529 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.745, allocations: 0 / 1.529 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008255/0.7458, allocations: 0.6009 MB / 1.53 GB, free: 56 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.7492, allocations: 1.788 MB / 1.532 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7492, allocations: 4 kB / 1.532 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.7495, allocations: 68.03 kB / 1.532 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.7497, allocations: 64.75 kB / 1.532 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.7497, allocations: 12 kB / 1.532 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.7516, allocations: 1.727 MB / 1.533 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/0.7516, allocations: 11.88 kB / 1.533 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.753, allocations: 0.9155 MB / 1.534 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000952/0.754, allocations: 327.5 kB / 1.535 GB, free: 10.9 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.7543, allocations: 12 kB / 1.535 GB, free: 10.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.7548, allocations: 15.98 kB / 1.535 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.7549, allocations: 43.95 kB / 1.535 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.7549, allocations: 8 kB / 1.535 GB, free: 10.82 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003255/0.7582, allocations: 1.938 MB / 1.537 GB, free: 8.875 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7582, allocations: 0 / 1.537 GB, free: 8.875 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001269/0.7594, allocations: 296 kB / 1.537 GB, free: 8.586 MB / 1.232 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.000373/0.7598, allocations: 152.6 kB / 1.537 GB, free: 8.43 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.7609, allocations: 0.5142 MB / 1.537 GB, free: 7.902 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7609, allocations: 0 / 1.537 GB, free: 7.902 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.7613, allocations: 294.1 kB / 1.538 GB, free: 7.605 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/0.7651, allocations: 0.8628 MB / 1.539 GB, free: 6.766 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008498/0.7736, allocations: 3.982 MB / 1.542 GB, free: 2.691 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.7758, allocations: 1.261 MB / 1.544 GB, free: 1.387 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.7762, allocations: 99.44 kB / 1.544 GB, free: 1.289 MB / 1.232 GB Notification: Performance of SimCode: time 1.893e-06/0.7762, allocations: 0 / 1.544 GB, free: 1.289 MB / 1.232 GB Notification: Performance of Templates: time 0.07517/0.8514, allocations: 42.74 MB / 1.586 GB, free: 6.703 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.474608558230102]