Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001159, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.06/2.06, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5411, allocations: 140.4 MB / 0.9496 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1709/0.7119, allocations: 179.3 MB / 1.125 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.7258, allocations: 10.99 MB / 1.135 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.7279, allocations: 83.56 kB / 1.135 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004376/0.7323, allocations: 1.997 MB / 1.137 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.7357, allocations: 1.616 MB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.7373, allocations: 0.7793 MB / 1.14 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.7403, allocations: 3.123 MB / 1.143 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.7416, allocations: 1.312 MB / 1.144 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.7428, allocations: 1.097 MB / 1.145 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.7442, allocations: 1.118 MB / 1.146 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.7444, allocations: 128 kB / 1.146 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.7459, allocations: 0.92 MB / 1.147 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.7463, allocations: 482 kB / 1.148 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00086/0.7471, allocations: 1.103 MB / 1.149 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.7498, allocations: 3.216 MB / 1.152 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7498, allocations: 0 / 1.152 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7498, allocations: 0 / 1.152 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.7498, allocations: 0 / 1.152 GB, free: 1.91 MB / 0.9044 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.003134/0.753, allocations: 2.739 MB / 1.155 GB, free: 15.11 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.753, allocations: 8.031 kB / 1.155 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.7542, allocations: 376.5 kB / 1.155 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.7565, allocations: 1.888 MB / 1.157 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.7566, allocations: 58 kB / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7567, allocations: 76 kB / 1.157 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.7579, allocations: 0.9484 MB / 1.158 GB, free: 11.64 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.7579, allocations: 0 / 1.158 GB, free: 11.64 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.7579, allocations: 32 kB / 1.158 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.758, allocations: 32.94 kB / 1.158 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.7589, allocations: 0.6985 MB / 1.159 GB, free: 10.88 MB / 0.92 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.004554/0.7635, allocations: 4.495 MB / 1.163 GB, free: 6.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.7639, allocations: 318.6 kB / 1.163 GB, free: 5.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.7642, allocations: 172.8 kB / 1.163 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.7643, allocations: 101.1 kB / 1.164 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.7643, allocations: 34.56 kB / 1.164 GB, free: 5.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.302e-06/0.7644, allocations: 0 / 1.164 GB, free: 5.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002434/0.7668, allocations: 1.709 MB / 1.165 GB, free: 3.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.7668, allocations: 55.41 kB / 1.165 GB, free: 3.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.7699, allocations: 2.973 MB / 1.168 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.7699, allocations: 37.7 kB / 1.168 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/0.7708, allocations: 1.058 MB / 1.169 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.7709, allocations: 114.4 kB / 1.169 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.771, allocations: 110.1 kB / 1.17 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7711, allocations: 326 kB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.7713, allocations: 165 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.7717, allocations: 370.8 kB / 1.17 GB, free: 14.41 MB / 0.9356 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.001848/0.7735, allocations: 1.083 MB / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7735, allocations: 3.938 kB / 1.171 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009766/0.7745, allocations: 0.7971 MB / 1.172 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7746, allocations: 10.19 kB / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.7746, allocations: 4 kB / 1.172 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.7747, allocations: 64.81 kB / 1.172 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.7751, allocations: 99.84 kB / 1.172 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.7764, allocations: 1.861 MB / 1.174 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.7771, allocations: 39.89 kB / 1.174 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.7771, allocations: 27.94 kB / 1.174 GB, free: 10.16 MB / 0.9356 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.0007734/0.7779, allocations: 0.7946 MB / 1.175 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.7781, allocations: 237 kB / 1.175 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.7784, allocations: 251.7 kB / 1.175 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7784, allocations: 4 kB / 1.175 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.7785, allocations: 8 kB / 1.175 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005761/0.779, allocations: 0.597 MB / 1.176 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.7814, allocations: 2.049 MB / 1.178 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7815, allocations: 4.406 kB / 1.178 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.7818, allocations: 71.91 kB / 1.178 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.7819, allocations: 52.81 kB / 1.178 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.7819, allocations: 16 kB / 1.178 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.7832, allocations: 1.857 MB / 1.18 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.7832, allocations: 4 kB / 1.18 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.7841, allocations: 0.9298 MB / 1.181 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.7846, allocations: 414 kB / 1.181 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.7848, allocations: 11.98 kB / 1.181 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.7853, allocations: 12 kB / 1.181 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.7854, allocations: 35.97 kB / 1.181 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.7854, allocations: 12 kB / 1.181 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002264/0.7877, allocations: 2.106 MB / 1.183 GB, free: 308 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7877, allocations: 0 / 1.183 GB, free: 308 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008015/0.7885, allocations: 304 kB / 1.184 GB, free: 4 kB / 0.9356 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.0003459/0.7888, allocations: 182.2 kB / 1.184 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007697/0.7896, allocations: 0.5424 MB / 1.184 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.7896, allocations: 7.938 kB / 1.184 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.79, allocations: 300.4 kB / 1.185 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/0.793, allocations: 0.9332 MB / 1.186 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.7976, allocations: 4.192 MB / 1.19 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.799, allocations: 1.953 MB / 1.192 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008065/0.7998, allocations: 338.5 kB / 1.192 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.8, allocations: 99.44 kB / 1.192 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.8, allocations: 0 / 1.192 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of Templates: time 0.04046/0.8405, allocations: 29.81 MB / 1.221 GB, free: 10.01 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches