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.0008466/0.0008466, allocations: 76.55 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.0008287/0.0008287, allocations: 181.9 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.9228/0.9228, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.8 MB / 0.6228 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9823 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.589e-05, allocations: 5.234 kB / 0.9823 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7058/0.7059, allocations: 157.9 MB / 1.136 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.7196, allocations: 10.15 MB / 1.146 GB, free: 15.56 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.722, allocations: 126.9 kB / 1.147 GB, free: 15.5 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.7266, allocations: 1.913 MB / 1.148 GB, free: 14.62 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.7307, allocations: 1.728 MB / 1.15 GB, free: 13.57 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.7323, allocations: 0.8236 MB / 1.151 GB, free: 13.12 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.736, allocations: 3.27 MB / 1.154 GB, free: 11.47 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.7372, allocations: 0.9539 MB / 1.155 GB, free: 11 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.7393, allocations: 1.747 MB / 1.157 GB, free: 10.29 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.7409, allocations: 0.957 MB / 1.158 GB, free: 9.934 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.7412, allocations: 134.4 kB / 1.158 GB, free: 9.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.7427, allocations: 0.7809 MB / 1.159 GB, free: 9.672 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.7431, allocations: 0.5016 MB / 1.159 GB, free: 9.379 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008011/0.7439, allocations: 0.6409 MB / 1.16 GB, free: 9.125 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.7478, allocations: 3.405 MB / 1.163 GB, free: 7.93 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7478, allocations: 0 / 1.163 GB, free: 7.93 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7478, allocations: 0 / 1.163 GB, free: 7.93 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.338e-05/0.7479, allocations: 0 / 1.163 GB, free: 7.93 MB / 1.01 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.004208/0.7521, allocations: 2.805 MB / 1.166 GB, free: 6.129 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.7521, allocations: 8.562 kB / 1.166 GB, free: 6.129 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.7531, allocations: 386.9 kB / 1.166 GB, free: 5.969 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.7558, allocations: 1.95 MB / 1.168 GB, free: 4.938 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.7558, allocations: 56.44 kB / 1.168 GB, free: 4.914 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.7559, allocations: 74.94 kB / 1.168 GB, free: 4.891 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.7572, allocations: 1.046 MB / 1.169 GB, free: 4.328 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.7572, allocations: 1.156 kB / 1.169 GB, free: 4.328 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.7573, allocations: 31.31 kB / 1.169 GB, free: 4.305 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-05/0.7573, allocations: 25.67 kB / 1.169 GB, free: 4.305 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.7582, allocations: 0.7003 MB / 1.17 GB, free: 4.078 MB / 1.01 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.003797/0.762, allocations: 3.482 MB / 1.173 GB, free: 2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.7624, allocations: 297.3 kB / 1.174 GB, free: 1.871 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.7627, allocations: 173.7 kB / 1.174 GB, free: 1.801 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.7628, allocations: 18.84 kB / 1.174 GB, free: 1.801 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.7628, allocations: 42.09 kB / 1.174 GB, free: 1.754 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 2.645e-06/0.7628, allocations: 4 kB / 1.174 GB, free: 1.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.002595/0.7654, allocations: 1.573 MB / 1.175 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.7655, allocations: 54.94 kB / 1.175 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.7684, allocations: 2.745 MB / 1.178 GB, free: 15.89 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.7684, allocations: 36.36 kB / 1.178 GB, free: 15.85 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/0.7691, allocations: 1.054 MB / 1.179 GB, free: 15.02 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.7692, allocations: 124.9 kB / 1.179 GB, free: 14.93 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.7693, allocations: 104.5 kB / 1.179 GB, free: 14.87 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.7694, allocations: 325.8 kB / 1.18 GB, free: 14.55 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.7696, allocations: 168 kB / 1.18 GB, free: 14.5 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.7699, allocations: 442.7 kB / 1.18 GB, free: 14.11 MB / 1.026 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.00138/0.7713, allocations: 1.002 MB / 1.181 GB, free: 13.56 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7713, allocations: 6.125 kB / 1.181 GB, free: 13.56 MB / 1.026 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009866/0.7723, allocations: 0.7962 MB / 1.182 GB, free: 13.18 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.7723, allocations: 7.875 kB / 1.182 GB, free: 13.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7723, allocations: 10.19 kB / 1.182 GB, free: 13.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.7725, allocations: 70.45 kB / 1.182 GB, free: 13.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.7727, allocations: 99.06 kB / 1.182 GB, free: 13.14 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.7739, allocations: 1.72 MB / 1.184 GB, free: 11.64 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.7743, allocations: 23.81 kB / 1.184 GB, free: 11.63 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.7743, allocations: 24.59 kB / 1.184 GB, free: 11.62 MB / 1.026 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.0008042/0.7751, allocations: 0.7913 MB / 1.185 GB, free: 11.28 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.7753, allocations: 235 kB / 1.185 GB, free: 11.14 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.7756, allocations: 242.4 kB / 1.185 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7756, allocations: 7.719 kB / 1.185 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.7756, allocations: 1.344 kB / 1.185 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004791/0.7761, allocations: 0.5937 MB / 1.186 GB, free: 10.58 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.7782, allocations: 1.79 MB / 1.187 GB, free: 9.691 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7782, allocations: 2.531 kB / 1.187 GB, free: 9.691 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.7784, allocations: 62.56 kB / 1.188 GB, free: 9.688 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.7785, allocations: 55.77 kB / 1.188 GB, free: 9.668 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.7785, allocations: 16.55 kB / 1.188 GB, free: 9.66 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.7795, allocations: 1.729 MB / 1.189 GB, free: 8.137 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7795, allocations: 4.438 kB / 1.189 GB, free: 8.137 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.7803, allocations: 0.9137 MB / 1.19 GB, free: 7.574 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.7807, allocations: 332.8 kB / 1.191 GB, free: 7.387 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.7808, allocations: 14.81 kB / 1.191 GB, free: 7.379 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.7811, allocations: 15.67 kB / 1.191 GB, free: 7.375 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.7812, allocations: 35.12 kB / 1.191 GB, free: 7.363 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.7812, allocations: 19.59 kB / 1.191 GB, free: 7.355 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001907/0.7831, allocations: 1.934 MB / 1.192 GB, free: 6.707 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.7831, allocations: 0 / 1.192 GB, free: 6.707 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007891/0.7839, allocations: 300.2 kB / 1.193 GB, free: 6.691 MB / 1.026 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.0002972/0.7842, allocations: 159.6 kB / 1.193 GB, free: 6.582 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006156/0.7848, allocations: 0.5138 MB / 1.193 GB, free: 6.32 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7848, allocations: 3.156 kB / 1.193 GB, free: 6.32 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.7851, allocations: 293.7 kB / 1.194 GB, free: 6.141 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.787, allocations: 0.8692 MB / 1.195 GB, free: 5.875 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.7912, allocations: 3.884 MB / 1.198 GB, free: 3.945 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/0.792, allocations: 1.255 MB / 1.2 GB, free: 3.523 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.7922, allocations: 97.03 kB / 1.2 GB, free: 3.516 MB / 1.026 GB Notification: Performance of SimCode: time 1.002e-06/0.7922, allocations: 0 / 1.2 GB, free: 3.516 MB / 1.026 GB Notification: Performance of Templates: time 0.03403/0.8262, allocations: 42.76 MB / 1.241 GB, free: 128 kB / 1.057 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 -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/jenkins/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: 12.546944057568908]