Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001131/0.001131, allocations: 86.02 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001274, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.942/2.942, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005416, allocations: 11.97 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4249, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.284/0.709, allocations: 162.8 MB / 1.217 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.7256, allocations: 10.18 MB / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.7287, allocations: 71.56 kB / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005332/0.734, allocations: 1.57 MB / 1.229 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.7386, allocations: 1.247 MB / 1.23 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.7409, allocations: 0.5699 MB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004746/0.7457, allocations: 3.146 MB / 1.233 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.7474, allocations: 0.9821 MB / 1.234 GB, free: 256 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.7492, allocations: 0.9484 MB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.7511, allocations: 1.007 MB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/0.7513, allocations: 72 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.753, allocations: 479 kB / 1.237 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.7534, allocations: 394.3 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00062/0.754, allocations: 476.4 kB / 1.238 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.7567, allocations: 2.373 MB / 1.24 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.7567, allocations: 4 kB / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7567, allocations: 0 / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.691e-05/0.7568, allocations: 0 / 1.24 GB, free: 10.5 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.003782/0.7606, allocations: 2.336 MB / 1.242 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.7606, allocations: 8.031 kB / 1.242 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.762, allocations: 364.6 kB / 1.243 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.7649, allocations: 1.789 MB / 1.244 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.765, allocations: 58 kB / 1.244 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.7651, allocations: 80 kB / 1.244 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.7667, allocations: 0.9406 MB / 1.245 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.7667, allocations: 3.984 kB / 1.245 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.7668, allocations: 32 kB / 1.245 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.7669, allocations: 25 kB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.7681, allocations: 0.6908 MB / 1.246 GB, free: 4.016 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.6742/1.442, allocations: 4.486 MB / 1.25 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/1.443, allocations: 309.9 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/1.443, allocations: 177.3 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/1.444, allocations: 98.11 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.444, allocations: 41.75 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 3.507e-06/1.444, allocations: 2.719 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32): time 0.003783/1.447, allocations: 1.708 MB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.447, allocations: 59.95 kB / 1.253 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/1.452, allocations: 2.948 MB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/1.452, allocations: 32.27 kB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/1.453, allocations: 1.055 MB / 1.257 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/1.453, allocations: 119.3 kB / 1.257 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/1.453, allocations: 10.41 kB / 1.257 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.064e-05/1.453, allocations: 329.7 kB / 1.257 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/1.453, allocations: 164.5 kB / 1.257 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/1.453, allocations: 361.7 kB / 1.258 GB, free: 186.9 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.001413/1.455, allocations: 0.6286 MB / 1.258 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.455, allocations: 3.281 kB / 1.258 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001252/1.456, allocations: 0.7938 MB / 1.259 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.456, allocations: 5.844 kB / 1.259 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.456, allocations: 8.281 kB / 1.259 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/1.456, allocations: 62.75 kB / 1.259 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/1.457, allocations: 102.4 kB / 1.259 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/1.458, allocations: 1.679 MB / 1.261 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.459, allocations: 41.47 kB / 1.261 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/1.459, allocations: 24.44 kB / 1.261 GB, free: 185.2 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001394/1.46, allocations: 0.7946 MB / 1.262 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/1.461, allocations: 233.3 kB / 1.262 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/1.461, allocations: 255 kB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.461, allocations: 6.766 kB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.461, allocations: 0 / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006075/1.462, allocations: 0.5988 MB / 1.263 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/1.465, allocations: 2.062 MB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.465, allocations: 2.969 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/1.465, allocations: 63.95 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/1.465, allocations: 59.86 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.465, allocations: 12.59 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/1.466, allocations: 1.673 MB / 1.267 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.466, allocations: 9.656 kB / 1.267 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.467, allocations: 0.9323 MB / 1.267 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/1.468, allocations: 408.3 kB / 1.268 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.468, allocations: 10.77 kB / 1.268 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/1.469, allocations: 35.52 kB / 1.268 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/1.469, allocations: 34.91 kB / 1.268 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/1.469, allocations: 15.5 kB / 1.268 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003474/1.472, allocations: 2.082 MB / 1.27 GB, free: 182 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.472, allocations: 0 / 1.27 GB, free: 182 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001166/1.474, allocations: 302.3 kB / 1.27 GB, free: 182 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003987/1.474, allocations: 165.9 kB / 1.27 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009435/1.475, allocations: 0.5169 MB / 1.271 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.475, allocations: 3.719 kB / 1.271 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/1.475, allocations: 303 kB / 1.271 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.479, allocations: 0.9016 MB / 1.272 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/1.486, allocations: 4.647 MB / 1.277 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/1.488, allocations: 1.957 MB / 1.279 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001517/1.49, allocations: 342.9 kB / 1.279 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/1.49, allocations: 102.4 kB / 1.279 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.49, allocations: 0 / 1.279 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05335/1.543, allocations: 27.7 MB / 1.306 GB, free: 163.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches