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.001644/0.001644, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001998/0.001998, allocations: 216.9 kB / 23.01 MB, free: 4.566 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 8.027 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 3.091/3.091, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] 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.00214/0.00214, allocations: 70.34 kB / 1.119 GB, free: 39.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4306, allocations: 170 MB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2488/0.6794, allocations: 183 MB / 1.463 GB, free: 3.121 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.7, allocations: 11.08 MB / 1.474 GB, free: 8.008 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.7042, allocations: 127 kB / 1.474 GB, free: 7.883 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0069/0.7111, allocations: 2.048 MB / 1.476 GB, free: 5.824 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/0.7174, allocations: 1.694 MB / 1.478 GB, free: 4.121 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.7205, allocations: 0.8261 MB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006328/0.7268, allocations: 3.199 MB / 1.482 GB, free: 88 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.7287, allocations: 0.8211 MB / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.7314, allocations: 1.202 MB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/0.7344, allocations: 1.144 MB / 1.485 GB, free: 12.88 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003712/0.7347, allocations: 128 kB / 1.485 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.7374, allocations: 0.99 MB / 1.486 GB, free: 11.76 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006252/0.7381, allocations: 493.9 kB / 1.487 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.7397, allocations: 1.092 MB / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005991/0.7457, allocations: 3.506 MB / 1.491 GB, free: 6.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.7457, allocations: 4 kB / 1.491 GB, free: 6.656 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7457, allocations: 4 kB / 1.491 GB, free: 6.652 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.206e-05/0.7458, allocations: 0 / 1.491 GB, free: 6.652 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005362/0.7511, allocations: 2.823 MB / 1.494 GB, free: 3.781 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.7512, allocations: 12.02 kB / 1.494 GB, free: 3.77 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.7529, allocations: 386 kB / 1.494 GB, free: 3.391 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004097/0.757, allocations: 1.951 MB / 1.496 GB, free: 1.387 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.757, allocations: 58 kB / 1.496 GB, free: 1.328 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7572, allocations: 72 kB / 1.496 GB, free: 1.258 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.7588, allocations: 0.9445 MB / 1.497 GB, free: 280 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.7588, allocations: 7.938 kB / 1.497 GB, free: 272 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.7589, allocations: 32 kB / 1.497 GB, free: 240 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.7589, allocations: 32.88 kB / 1.497 GB, free: 208 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.7601, allocations: 0.6986 MB / 1.498 GB, free: 15.5 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.007005/0.7671, allocations: 4.411 MB / 1.502 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.7677, allocations: 302.5 kB / 1.503 GB, free: 10.57 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.768, allocations: 169.3 kB / 1.503 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.7681, allocations: 19.98 kB / 1.503 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.7682, allocations: 42.56 kB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.7682, allocations: 0 / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=32): time 0.003523/0.7717, allocations: 1.593 MB / 1.504 GB, free: 8.699 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.7718, allocations: 55.41 kB / 1.504 GB, free: 8.633 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/0.7761, allocations: 2.945 MB / 1.507 GB, free: 5.672 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.7762, allocations: 29.7 kB / 1.507 GB, free: 5.637 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.7773, allocations: 1.079 MB / 1.508 GB, free: 4.551 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.7775, allocations: 115 kB / 1.508 GB, free: 4.438 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.7777, allocations: 114.2 kB / 1.509 GB, free: 4.32 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7778, allocations: 330 kB / 1.509 GB, free: 3.992 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.7781, allocations: 161.1 kB / 1.509 GB, free: 3.836 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.7786, allocations: 378.2 kB / 1.509 GB, free: 3.379 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: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.7809, allocations: 1.002 MB / 1.51 GB, free: 2.293 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.7809, allocations: 7.938 kB / 1.51 GB, free: 2.285 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001537/0.7824, allocations: 0.8015 MB / 1.511 GB, free: 1.473 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.7825, allocations: 8 kB / 1.511 GB, free: 1.465 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7825, allocations: 8.094 kB / 1.511 GB, free: 1.457 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.7827, allocations: 64.81 kB / 1.511 GB, free: 1.391 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.7831, allocations: 95.84 kB / 1.511 GB, free: 1.297 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.7849, allocations: 1.758 MB / 1.513 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.786, allocations: 32.06 kB / 1.513 GB, free: 15.4 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.7861, allocations: 31.88 kB / 1.513 GB, free: 15.37 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.001461/0.7876, allocations: 0.798 MB / 1.514 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.7879, allocations: 242.4 kB / 1.514 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.7883, allocations: 251.7 kB / 1.514 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.7883, allocations: 4 kB / 1.514 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.7883, allocations: 0 / 1.514 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008055/0.7891, allocations: 0.6008 MB / 1.515 GB, free: 13.4 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.7926, allocations: 2.021 MB / 1.517 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7926, allocations: 0 / 1.517 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.7929, allocations: 63.91 kB / 1.517 GB, free: 11.21 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.7931, allocations: 56.81 kB / 1.517 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.7931, allocations: 12.41 kB / 1.517 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.7949, allocations: 1.777 MB / 1.519 GB, free: 9.254 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7949, allocations: 4.125 kB / 1.519 GB, free: 9.25 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.7962, allocations: 0.9358 MB / 1.52 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/0.7971, allocations: 355.4 kB / 1.52 GB, free: 7.902 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.7973, allocations: 11.98 kB / 1.52 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.7979, allocations: 12 kB / 1.52 GB, free: 7.879 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.7979, allocations: 31.89 kB / 1.52 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.798, allocations: 19.98 kB / 1.52 GB, free: 7.828 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003229/0.8012, allocations: 2.083 MB / 1.522 GB, free: 5.742 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.8012, allocations: 0 / 1.522 GB, free: 5.742 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001129/0.8023, allocations: 307.9 kB / 1.522 GB, free: 5.441 MB / 1.217 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.0003504/0.8027, allocations: 143.1 kB / 1.523 GB, free: 5.293 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.8037, allocations: 0.5148 MB / 1.523 GB, free: 4.766 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.8037, allocations: 4 kB / 1.523 GB, free: 4.762 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.8042, allocations: 299.6 kB / 1.523 GB, free: 4.457 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/0.8077, allocations: 0.947 MB / 1.524 GB, free: 3.535 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007448/0.8151, allocations: 4.009 MB / 1.528 GB, free: 15.44 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/0.8169, allocations: 1.819 MB / 1.53 GB, free: 13.59 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.8173, allocations: 115.4 kB / 1.53 GB, free: 13.48 MB / 1.232 GB Notification: Performance of SimCode: time 1.192e-06/0.8173, allocations: 0 / 1.53 GB, free: 13.48 MB / 1.232 GB Notification: Performance of Templates: time 0.07314/0.8904, allocations: 43.36 MB / 1.572 GB, free: 2.309 MB / 1.264 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/jenkins1/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: 21.629245742980856]