Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 117.1 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 189.2 kB / 20.03 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437.1 MB / 0.7178 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.89 kB / 1.028 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 151.6 MB / 1.176 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 1.037/1.378, allocations: 179.3 MB / 1.351 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01967/1.397, allocations: 10.97 MB / 1.362 GB, free: 2.395 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004269/1.402, allocations: 89.06 kB / 1.362 GB, free: 2.363 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007032/1.409, allocations: 1.997 MB / 1.364 GB, free: 1.379 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006228/1.415, allocations: 1.614 MB / 1.365 GB, free: 408 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/1.418, allocations: 0.795 MB / 1.366 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006815/1.425, allocations: 3.138 MB / 1.369 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/1.427, allocations: 1.324 MB / 1.37 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/1.43, allocations: 1.109 MB / 1.372 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/1.433, allocations: 1.106 MB / 1.373 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004589/1.434, allocations: 127.9 kB / 1.373 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/1.437, allocations: 0.9136 MB / 1.374 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006961/1.438, allocations: 479.6 kB / 1.374 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/1.44, allocations: 1.1 MB / 1.375 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006312/1.446, allocations: 3.471 MB / 1.379 GB, free: 9.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.446, allocations: 0 / 1.379 GB, free: 9.555 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.665e-06/1.446, allocations: 0 / 1.379 GB, free: 9.555 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.42e-05/1.446, allocations: 2.469 kB / 1.379 GB, free: 9.555 MB / 1.045 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.005681/1.452, allocations: 2.887 MB / 1.381 GB, free: 7.402 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.452, allocations: 13.61 kB / 1.381 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/1.453, allocations: 388.1 kB / 1.382 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/1.458, allocations: 2.034 MB / 1.384 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/1.458, allocations: 59.81 kB / 1.384 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.458, allocations: 82.31 kB / 1.384 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/1.459, allocations: 0.9351 MB / 1.385 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.46, allocations: 3.938 kB / 1.385 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/1.46, allocations: 31.53 kB / 1.385 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/1.46, allocations: 28.56 kB / 1.385 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/1.461, allocations: 0.7022 MB / 1.386 GB, free: 4.75 MB / 1.045 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.006963/1.468, allocations: 4.454 MB / 1.39 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/1.468, allocations: 314.1 kB / 1.39 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/1.469, allocations: 176.7 kB / 1.39 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/1.469, allocations: 100.7 kB / 1.39 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.469, allocations: 39.05 kB / 1.391 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.786e-06/1.469, allocations: 0 / 1.391 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.003668/1.472, allocations: 1.747 MB / 1.392 GB, free: 15.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/1.473, allocations: 54.03 kB / 1.392 GB, free: 15.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/1.476, allocations: 2.95 MB / 1.395 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/1.476, allocations: 36.11 kB / 1.395 GB, free: 13.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/1.478, allocations: 1.067 MB / 1.396 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/1.478, allocations: 126.4 kB / 1.396 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/1.478, allocations: 111.5 kB / 1.396 GB, free: 12.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.478, allocations: 326.9 kB / 1.397 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/1.478, allocations: 161.2 kB / 1.397 GB, free: 12.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/1.479, allocations: 378.7 kB / 1.397 GB, free: 12.05 MB / 1.061 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.002197/1.481, allocations: 1.069 MB / 1.398 GB, free: 11.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.481, allocations: 6.688 kB / 1.398 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001479/1.483, allocations: 0.8168 MB / 1.399 GB, free: 10.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.483, allocations: 9.656 kB / 1.399 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.483, allocations: 8.875 kB / 1.399 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/1.483, allocations: 64.06 kB / 1.399 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/1.483, allocations: 97.91 kB / 1.399 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.485, allocations: 1.863 MB / 1.401 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.486, allocations: 27.98 kB / 1.401 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.486, allocations: 32.14 kB / 1.401 GB, free: 8.977 MB / 1.061 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.00134/1.488, allocations: 0.7944 MB / 1.402 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/1.488, allocations: 246.9 kB / 1.402 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/1.488, allocations: 252.7 kB / 1.402 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.488, allocations: 2.5 kB / 1.402 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.488, allocations: 0 / 1.402 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007425/1.489, allocations: 0.6063 MB / 1.403 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/1.492, allocations: 2.041 MB / 1.405 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.492, allocations: 4.531 kB / 1.405 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/1.493, allocations: 70.94 kB / 1.405 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/1.493, allocations: 58.69 kB / 1.405 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/1.493, allocations: 13.81 kB / 1.405 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/1.495, allocations: 1.856 MB / 1.407 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.495, allocations: 6.375 kB / 1.407 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/1.496, allocations: 0.9371 MB / 1.408 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008836/1.497, allocations: 425.4 kB / 1.408 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.497, allocations: 8.625 kB / 1.408 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/1.498, allocations: 17.7 kB / 1.408 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/1.498, allocations: 36.28 kB / 1.408 GB, free: 3.395 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/1.498, allocations: 17 kB / 1.408 GB, free: 3.391 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003258/1.501, allocations: 2.081 MB / 1.41 GB, free: 2.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.01e-07/1.501, allocations: 0 / 1.41 GB, free: 2.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0012/1.502, allocations: 304 kB / 1.411 GB, free: 2.281 MB / 1.061 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.000542/1.503, allocations: 171.6 kB / 1.411 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00103/1.504, allocations: 0.5307 MB / 1.411 GB, free: 1.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.504, allocations: 4 kB / 1.411 GB, free: 1.602 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004342/1.504, allocations: 306.7 kB / 1.412 GB, free: 1.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.508, allocations: 0.9512 MB / 1.413 GB, free: 376 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/1.515, allocations: 4.007 MB / 1.417 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/1.517, allocations: 1.82 MB / 1.418 GB, free: 10.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/1.517, allocations: 103.4 kB / 1.418 GB, free: 10.32 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/1.517, allocations: 0 / 1.418 GB, free: 10.32 MB / 1.076 GB Notification: Performance of Templates: time 0.06264/1.58, allocations: 43.25 MB / 1.461 GB, free: 15.28 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 20.786079208017327]