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.001334/0.001334, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001444/0.001444, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.002038/0.002038, allocations: 67.98 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2869, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1957/0.4826, allocations: 158 MB / 1.481 GB, free: 2.363 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.4988, allocations: 10.16 MB / 1.491 GB, free: 8.18 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.5009, allocations: 127 kB / 1.491 GB, free: 8.055 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005319/0.5062, allocations: 1.884 MB / 1.493 GB, free: 6.16 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004278/0.5105, allocations: 1.694 MB / 1.495 GB, free: 4.457 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.5126, allocations: 0.796 MB / 1.496 GB, free: 3.664 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.5166, allocations: 3.188 MB / 1.499 GB, free: 480 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.518, allocations: 0.9689 MB / 1.5 GB, free: 15.47 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.5202, allocations: 1.338 MB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.5234, allocations: 1.149 MB / 1.502 GB, free: 12.98 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004573/0.5239, allocations: 128 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.5258, allocations: 0.7795 MB / 1.503 GB, free: 12.07 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005554/0.5263, allocations: 493.9 kB / 1.504 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.5274, allocations: 0.8273 MB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.5316, allocations: 3.49 MB / 1.508 GB, free: 7.25 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5316, allocations: 0 / 1.508 GB, free: 7.25 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5316, allocations: 0 / 1.508 GB, free: 7.25 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.5316, allocations: 0 / 1.508 GB, free: 7.25 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.004349/0.536, allocations: 2.824 MB / 1.511 GB, free: 4.379 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.536, allocations: 8.031 kB / 1.511 GB, free: 4.371 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.5376, allocations: 394 kB / 1.511 GB, free: 3.984 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.5412, allocations: 1.951 MB / 1.513 GB, free: 1.977 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.5413, allocations: 58 kB / 1.513 GB, free: 1.918 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.5414, allocations: 83.94 kB / 1.513 GB, free: 1.836 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.543, allocations: 1.041 MB / 1.514 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.5431, allocations: 4 kB / 1.514 GB, free: 0.7227 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.5431, allocations: 32 kB / 1.514 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.5432, allocations: 32.94 kB / 1.514 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.5444, allocations: 0.6946 MB / 1.515 GB, free: 15.96 MB / 1.217 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.005596/0.55, allocations: 3.466 MB / 1.518 GB, free: 12.42 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.5505, allocations: 309 kB / 1.518 GB, free: 12.11 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.5508, allocations: 164.8 kB / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.551, allocations: 23.97 kB / 1.519 GB, free: 11.93 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.551, allocations: 34.56 kB / 1.519 GB, free: 11.88 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 4.048e-06/0.551, allocations: 0 / 1.519 GB, free: 11.88 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003186/0.5542, allocations: 1.585 MB / 1.52 GB, free: 10.25 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5542, allocations: 55.41 kB / 1.52 GB, free: 10.19 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.5579, allocations: 2.749 MB / 1.523 GB, free: 7.426 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.558, allocations: 33.7 kB / 1.523 GB, free: 7.387 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.559, allocations: 1.065 MB / 1.524 GB, free: 6.312 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.5592, allocations: 126.9 kB / 1.524 GB, free: 6.188 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.5594, allocations: 110.2 kB / 1.524 GB, free: 6.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5595, allocations: 325.9 kB / 1.525 GB, free: 5.746 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.5598, allocations: 169 kB / 1.525 GB, free: 5.582 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.5603, allocations: 444 kB / 1.525 GB, free: 5.047 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.002316/0.5626, allocations: 0.9989 MB / 1.526 GB, free: 3.961 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5626, allocations: 0 / 1.526 GB, free: 3.961 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001355/0.564, allocations: 0.7905 MB / 1.527 GB, free: 3.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.564, allocations: 13.09 kB / 1.527 GB, free: 3.148 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.564, allocations: 8 kB / 1.527 GB, free: 3.141 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.5642, allocations: 64.81 kB / 1.527 GB, free: 3.074 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.5646, allocations: 95.84 kB / 1.527 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.5664, allocations: 1.727 MB / 1.529 GB, free: 1.156 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/0.5673, allocations: 32 kB / 1.529 GB, free: 1.125 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.5673, allocations: 24 kB / 1.529 GB, free: 1.102 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.001221/0.5685, allocations: 0.7939 MB / 1.53 GB, free: 304 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.5688, allocations: 230.5 kB / 1.53 GB, free: 72 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.5693, allocations: 238.2 kB / 1.53 GB, free: 15.83 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.5693, allocations: 4 kB / 1.53 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5693, allocations: 0 / 1.53 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009577/0.5703, allocations: 0.6009 MB / 1.531 GB, free: 15.15 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.5734, allocations: 1.784 MB / 1.532 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.5734, allocations: 4.406 kB / 1.532 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.5738, allocations: 67.91 kB / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.5739, allocations: 60.75 kB / 1.532 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.574, allocations: 12 kB / 1.532 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.5757, allocations: 1.735 MB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5757, allocations: 7.938 kB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5769, allocations: 0.9193 MB / 1.535 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/0.5777, allocations: 331.5 kB / 1.535 GB, free: 9.992 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.5779, allocations: 15.92 kB / 1.535 GB, free: 9.977 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.5785, allocations: 12 kB / 1.535 GB, free: 9.965 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.5785, allocations: 31.89 kB / 1.535 GB, free: 9.934 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.5786, allocations: 19.94 kB / 1.535 GB, free: 9.914 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002785/0.5814, allocations: 1.934 MB / 1.537 GB, free: 7.973 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5814, allocations: 0 / 1.537 GB, free: 7.973 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001058/0.5824, allocations: 296.1 kB / 1.538 GB, free: 7.684 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.0003026/0.5827, allocations: 160.6 kB / 1.538 GB, free: 7.52 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009927/0.5837, allocations: 0.5154 MB / 1.538 GB, free: 6.992 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5837, allocations: 0 / 1.538 GB, free: 6.992 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.5841, allocations: 294.4 kB / 1.539 GB, free: 6.691 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.5874, allocations: 0.8569 MB / 1.539 GB, free: 5.863 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.5938, allocations: 4.173 MB / 1.543 GB, free: 1.602 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.5954, allocations: 1.384 MB / 1.545 GB, free: 176 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001021/0.5964, allocations: 317.3 kB / 1.545 GB, free: 15.86 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.5966, allocations: 95.44 kB / 1.545 GB, free: 15.76 MB / 1.248 GB Notification: Performance of SimCode: time 1.011e-06/0.5966, allocations: 4 kB / 1.545 GB, free: 15.76 MB / 1.248 GB Notification: Performance of Templates: time 0.05363/0.6502, allocations: 32.11 MB / 1.577 GB, free: 312 kB / 1.264 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 -s gbode -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: 9.248083711005165]