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.001383/0.001383, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001488/0.001488, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.704/2.704, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] 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.773e-06/1.773e-06, allocations: 0 / 0.9511 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.621e-05, allocations: 2.281 kB / 0.9511 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6613/0.6613, allocations: 157.9 MB / 1.105 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.6761, allocations: 10.15 MB / 1.115 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.6793, allocations: 127.2 kB / 1.115 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006289/0.6856, allocations: 1.908 MB / 1.117 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.6906, allocations: 1.73 MB / 1.119 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.693, allocations: 0.8185 MB / 1.12 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.6975, allocations: 3.264 MB / 1.123 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.699, allocations: 0.9584 MB / 1.124 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.7017, allocations: 1.602 MB / 1.125 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.7038, allocations: 0.953 MB / 1.126 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.7041, allocations: 128.2 kB / 1.126 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.7059, allocations: 0.7977 MB / 1.127 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.7064, allocations: 0.5012 MB / 1.128 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.7075, allocations: 0.6418 MB / 1.128 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.7121, allocations: 3.401 MB / 1.132 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7121, allocations: 5.094 kB / 1.132 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7121, allocations: 1.031 kB / 1.132 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.744e-05/0.7122, allocations: 0 / 1.132 GB, free: 10.57 MB / 0.9981 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.004527/0.7167, allocations: 2.796 MB / 1.134 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.7167, allocations: 10.09 kB / 1.134 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.7183, allocations: 390.8 kB / 1.135 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/0.7217, allocations: 1.948 MB / 1.137 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.7218, allocations: 58 kB / 1.137 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.7219, allocations: 75.22 kB / 1.137 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.7234, allocations: 1.045 MB / 1.138 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.7235, allocations: 2.031 kB / 1.138 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.7235, allocations: 32 kB / 1.138 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.7236, allocations: 26.03 kB / 1.138 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.7247, allocations: 0.7053 MB / 1.138 GB, free: 8.145 MB / 0.9981 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.005065/0.7298, allocations: 3.469 MB / 1.142 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.7302, allocations: 302.2 kB / 1.142 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.7305, allocations: 173.4 kB / 1.142 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.7306, allocations: 22.34 kB / 1.142 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.7306, allocations: 37.69 kB / 1.142 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.7306, allocations: 0 / 1.142 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32): time 0.002895/0.7335, allocations: 1.576 MB / 1.144 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.7336, allocations: 57.34 kB / 1.144 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/0.737, allocations: 2.745 MB / 1.147 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.737, allocations: 32.14 kB / 1.147 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/0.7379, allocations: 1.059 MB / 1.148 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.738, allocations: 118.6 kB / 1.148 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.7381, allocations: 111.7 kB / 1.148 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.7382, allocations: 326.7 kB / 1.148 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.7384, allocations: 168 kB / 1.148 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.7388, allocations: 445.5 kB / 1.149 GB, free: 4.809 MB / 0.9981 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.002078/0.7409, allocations: 1.01 MB / 1.15 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7409, allocations: 1.312 kB / 1.15 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00118/0.742, allocations: 0.7882 MB / 1.151 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7421, allocations: 7.75 kB / 1.151 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7421, allocations: 7.531 kB / 1.151 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.7423, allocations: 61.86 kB / 1.151 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.7426, allocations: 103 kB / 1.151 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.7439, allocations: 1.724 MB / 1.152 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009852/0.7449, allocations: 28.36 kB / 1.152 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.7449, allocations: 24.03 kB / 1.153 GB, free: 3.062 MB / 0.9981 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.001066/0.746, allocations: 0.7985 MB / 1.153 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.7462, allocations: 226.9 kB / 1.154 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.7466, allocations: 240.8 kB / 1.154 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7466, allocations: 3.125 kB / 1.154 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.7466, allocations: 2.031 kB / 1.154 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000626/0.7472, allocations: 0.612 MB / 1.154 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.75, allocations: 1.788 MB / 1.156 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.7501, allocations: 4.562 kB / 1.156 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.7504, allocations: 66.47 kB / 1.156 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.7505, allocations: 58.33 kB / 1.156 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.7505, allocations: 15.34 kB / 1.156 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.7518, allocations: 1.726 MB / 1.158 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7518, allocations: 4.406 kB / 1.158 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.7529, allocations: 0.9129 MB / 1.159 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.7535, allocations: 328.4 kB / 1.159 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.7538, allocations: 13 kB / 1.159 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.7544, allocations: 17.86 kB / 1.159 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.7544, allocations: 35.22 kB / 1.159 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.7545, allocations: 14.22 kB / 1.159 GB, free: 16.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002735/0.7572, allocations: 1.937 MB / 1.161 GB, free: 16.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.7572, allocations: 1.062 kB / 1.161 GB, free: 16.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001176/0.7584, allocations: 298.6 kB / 1.161 GB, free: 16.03 MB / 1.014 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.0003131/0.7587, allocations: 158 kB / 1.162 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00084/0.7595, allocations: 0.5143 MB / 1.162 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7595, allocations: 1.281 kB / 1.162 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.7599, allocations: 295.5 kB / 1.162 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.7632, allocations: 0.862 MB / 1.163 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00617/0.7694, allocations: 4.078 MB / 1.167 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.7707, allocations: 1.384 MB / 1.168 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001029/0.7718, allocations: 314.3 kB / 1.169 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.772, allocations: 101.8 kB / 1.169 GB, free: 13.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/0.772, allocations: 0 / 1.169 GB, free: 13.91 MB / 1.014 GB Notification: Performance of Templates: time 0.04526/0.8172, allocations: 28.78 MB / 1.197 GB, free: 5.715 MB / 1.014 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: 8.966714844107628]