Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008103/0.0008103, allocations: 84.38 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.0009841/0.0009841, 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.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 8 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7641, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.207/0.9711, allocations: 162.8 MB / 1.181 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.9872, allocations: 10.17 MB / 1.191 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.991, allocations: 71.56 kB / 1.191 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005353/0.9964, allocations: 1.57 MB / 1.193 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004598/1.001, allocations: 1.255 MB / 1.194 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/1.003, allocations: 0.58 MB / 1.195 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004661/1.008, allocations: 3.14 MB / 1.198 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/1.009, allocations: 1.001 MB / 1.199 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/1.011, allocations: 0.9406 MB / 1.2 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/1.012, allocations: 1.011 MB / 1.201 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/1.012, allocations: 68 kB / 1.201 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/1.014, allocations: 479 kB / 1.201 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004305/1.014, allocations: 398.3 kB / 1.202 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004945/1.015, allocations: 476.4 kB / 1.202 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/1.017, allocations: 2.361 MB / 1.204 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/1.017, allocations: 0 / 1.204 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.595e-06/1.017, allocations: 0 / 1.204 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.853e-05/1.017, allocations: 0 / 1.204 GB, free: 5.195 MB / 0.9512 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.003735/1.021, allocations: 2.336 MB / 1.207 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.021, allocations: 8.031 kB / 1.207 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/1.023, allocations: 376.6 kB / 1.207 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/1.026, allocations: 1.785 MB / 1.209 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/1.026, allocations: 58 kB / 1.209 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.026, allocations: 72 kB / 1.209 GB, free: 456 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.028, allocations: 0.9367 MB / 1.21 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/1.028, allocations: 0 / 1.21 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/1.028, allocations: 32 kB / 1.21 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/1.028, allocations: 28.98 kB / 1.21 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.029, allocations: 0.6985 MB / 1.21 GB, free: 14.7 MB / 0.9669 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.006201/1.035, allocations: 4.491 MB / 1.215 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/1.036, allocations: 318.5 kB / 1.215 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/1.036, allocations: 176.8 kB / 1.215 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/1.036, allocations: 97.09 kB / 1.215 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/1.036, allocations: 34.56 kB / 1.215 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/1.036, allocations: 4 kB / 1.215 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32): time 0.003221/1.039, allocations: 1.7 MB / 1.217 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/1.04, allocations: 55.41 kB / 1.217 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/1.044, allocations: 2.949 MB / 1.22 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/1.044, allocations: 37.64 kB / 1.22 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.045, allocations: 1.062 MB / 1.221 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.045, allocations: 114.4 kB / 1.221 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/1.045, allocations: 8 kB / 1.221 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.045, allocations: 334 kB / 1.222 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/1.045, allocations: 161 kB / 1.222 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/1.046, allocations: 366.4 kB / 1.222 GB, free: 2.363 MB / 0.9669 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.001593/1.047, allocations: 0.6279 MB / 1.223 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.047, allocations: 0 / 1.223 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001385/1.049, allocations: 0.8 MB / 1.223 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.049, allocations: 11.94 kB / 1.223 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.049, allocations: 7.984 kB / 1.223 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/1.049, allocations: 64.77 kB / 1.224 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/1.049, allocations: 103.8 kB / 1.224 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/1.051, allocations: 1.678 MB / 1.225 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/1.052, allocations: 53.47 kB / 1.225 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/1.052, allocations: 20 kB / 1.225 GB, free: 14.84 MB / 0.9825 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.001233/1.053, allocations: 0.7901 MB / 1.226 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/1.054, allocations: 229.1 kB / 1.226 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/1.054, allocations: 255.7 kB / 1.227 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.054, allocations: 8 kB / 1.227 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.054, allocations: 3.953 kB / 1.227 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007116/1.055, allocations: 0.597 MB / 1.227 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/1.058, allocations: 2.05 MB / 1.229 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.058, allocations: 11.98 kB / 1.229 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/1.058, allocations: 63.91 kB / 1.229 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/1.058, allocations: 52.83 kB / 1.229 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/1.058, allocations: 15.98 kB / 1.229 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/1.06, allocations: 1.679 MB / 1.231 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.06, allocations: 4 kB / 1.231 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/1.061, allocations: 0.9219 MB / 1.232 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/1.062, allocations: 410.1 kB / 1.232 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.062, allocations: 15.94 kB / 1.232 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/1.063, allocations: 35.89 kB / 1.232 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/1.063, allocations: 27.91 kB / 1.232 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/1.063, allocations: 19.94 kB / 1.232 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003142/1.066, allocations: 2.079 MB / 1.234 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.31e-07/1.066, allocations: 0 / 1.234 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001065/1.067, allocations: 303.9 kB / 1.235 GB, free: 4.867 MB / 0.9825 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.0004575/1.068, allocations: 164.1 kB / 1.235 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009722/1.069, allocations: 0.5199 MB / 1.235 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.069, allocations: 7.938 kB / 1.235 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/1.069, allocations: 295.7 kB / 1.236 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.072, allocations: 0.8968 MB / 1.237 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/1.08, allocations: 4.66 MB / 1.241 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.081, allocations: 1.953 MB / 1.243 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001133/1.082, allocations: 342.5 kB / 1.243 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/1.083, allocations: 99.44 kB / 1.243 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.083, allocations: 0 / 1.243 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.6379/1.72, allocations: 27.68 MB / 1.27 GB, free: 220.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches