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.0009706/0.0009706, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008401/0.0008401, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8749/0.8749, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.638/1.638, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9518 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.814e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6469/0.6469, allocations: 157.9 MB / 1.106 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.6598, allocations: 10.15 MB / 1.116 GB, free: 33.15 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.6623, allocations: 129.1 kB / 1.116 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004355/0.6667, allocations: 1.913 MB / 1.118 GB, free: 32.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003925/0.6706, allocations: 1.739 MB / 1.12 GB, free: 31.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.6723, allocations: 0.8049 MB / 1.12 GB, free: 30.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.6755, allocations: 3.265 MB / 1.124 GB, free: 29.07 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.6766, allocations: 0.958 MB / 1.125 GB, free: 28.6 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.6787, allocations: 1.591 MB / 1.126 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.6803, allocations: 0.9593 MB / 1.127 GB, free: 27.6 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.6806, allocations: 127.1 kB / 1.127 GB, free: 27.6 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.6823, allocations: 0.7955 MB / 1.128 GB, free: 27.33 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.6826, allocations: 0.5008 MB / 1.128 GB, free: 27.04 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.6834, allocations: 0.6403 MB / 1.129 GB, free: 26.79 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.6871, allocations: 3.401 MB / 1.132 GB, free: 25.59 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6871, allocations: 4.703 kB / 1.132 GB, free: 25.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6871, allocations: 0 / 1.132 GB, free: 25.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.124e-05/0.6872, allocations: 1.188 kB / 1.132 GB, free: 25.59 MB / 0.9948 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.003752/0.6909, allocations: 2.802 MB / 1.135 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.691, allocations: 9.844 kB / 1.135 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.692, allocations: 390.2 kB / 1.135 GB, free: 23.62 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.6947, allocations: 1.954 MB / 1.137 GB, free: 22.59 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.6947, allocations: 56.25 kB / 1.137 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.6948, allocations: 74.53 kB / 1.137 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.696, allocations: 1.041 MB / 1.139 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.696, allocations: 5 kB / 1.139 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.696, allocations: 32.42 kB / 1.139 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.6961, allocations: 26.11 kB / 1.139 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.6969, allocations: 0.7061 MB / 1.139 GB, free: 21.72 MB / 0.9948 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.003662/0.7006, allocations: 3.468 MB / 1.143 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.701, allocations: 303.2 kB / 1.143 GB, free: 19.53 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.7012, allocations: 173.9 kB / 1.143 GB, free: 19.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.7013, allocations: 17.83 kB / 1.143 GB, free: 19.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.7013, allocations: 37.47 kB / 1.143 GB, free: 19.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 4.067e-06/0.7013, allocations: 0 / 1.143 GB, free: 19.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32): time 0.001954/0.7032, allocations: 1.579 MB / 1.145 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.7033, allocations: 55.41 kB / 1.145 GB, free: 18.44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.7062, allocations: 2.741 MB / 1.147 GB, free: 17.55 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.7062, allocations: 31.2 kB / 1.147 GB, free: 17.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005897/0.7068, allocations: 1.06 MB / 1.148 GB, free: 16.69 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.7069, allocations: 124 kB / 1.149 GB, free: 16.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.707, allocations: 113.2 kB / 1.149 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.7071, allocations: 327 kB / 1.149 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.7073, allocations: 163.4 kB / 1.149 GB, free: 16.15 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.7075, allocations: 446.5 kB / 1.15 GB, free: 15.75 MB / 0.9948 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.001288/0.7088, allocations: 1.007 MB / 1.151 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7088, allocations: 1.406 kB / 1.151 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000838/0.7097, allocations: 0.7894 MB / 1.151 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7097, allocations: 10 kB / 1.151 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7097, allocations: 9.984 kB / 1.151 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.7099, allocations: 67.3 kB / 1.151 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.7101, allocations: 100 kB / 1.152 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/0.711, allocations: 1.723 MB / 1.153 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.7114, allocations: 30.11 kB / 1.153 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.7114, allocations: 30.47 kB / 1.153 GB, free: 13.27 MB / 0.9948 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.0007448/0.7122, allocations: 0.7914 MB / 1.154 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.7123, allocations: 231.4 kB / 1.154 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.7126, allocations: 240.6 kB / 1.155 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7126, allocations: 3.438 kB / 1.155 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7126, allocations: 1.188 kB / 1.155 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004334/0.713, allocations: 0.5993 MB / 1.155 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.7151, allocations: 1.795 MB / 1.157 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7151, allocations: 7.281 kB / 1.157 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.7152, allocations: 61.41 kB / 1.157 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.534e-05/0.7153, allocations: 62.17 kB / 1.157 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.7154, allocations: 9.969 kB / 1.157 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007564/0.7161, allocations: 1.725 MB / 1.159 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7161, allocations: 7.344 kB / 1.159 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.7169, allocations: 0.9147 MB / 1.16 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.7172, allocations: 325.5 kB / 1.16 GB, free: 9.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.7174, allocations: 20.42 kB / 1.16 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.7177, allocations: 13.14 kB / 1.16 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.7177, allocations: 30.72 kB / 1.16 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.7177, allocations: 15.84 kB / 1.16 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001926/0.7197, allocations: 1.931 MB / 1.162 GB, free: 8.367 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7197, allocations: 3.938 kB / 1.162 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008313/0.7205, allocations: 303.9 kB / 1.162 GB, free: 8.344 MB / 0.9948 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.0002727/0.7208, allocations: 155.1 kB / 1.162 GB, free: 8.234 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006563/0.7214, allocations: 0.5122 MB / 1.163 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7214, allocations: 5.188 kB / 1.163 GB, free: 7.973 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.7217, allocations: 296.4 kB / 1.163 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.7238, allocations: 0.8682 MB / 1.164 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.7286, allocations: 3.878 MB / 1.168 GB, free: 5.609 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.7297, allocations: 1.252 MB / 1.169 GB, free: 5.25 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.7299, allocations: 97.12 kB / 1.169 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of SimCode: time 1.203e-06/0.7299, allocations: 3.938 kB / 1.169 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of Templates: time 0.03466/0.7645, allocations: 42.77 MB / 1.211 GB, free: 15.57 MB / 1.026 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: 12.40200044028461]