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.001659/0.001659, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.0021/0.0021, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.358/2.358, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001678, allocations: 71.83 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9892/0.9909, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2281/1.219, allocations: 179.3 MB / 1.264 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01975/1.239, allocations: 10.97 MB / 1.275 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004574/1.243, allocations: 95.5 kB / 1.275 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007325/1.251, allocations: 2.005 MB / 1.277 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/1.258, allocations: 1.608 MB / 1.278 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/1.261, allocations: 0.7944 MB / 1.279 GB, free: 11.03 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006245/1.267, allocations: 3.139 MB / 1.282 GB, free: 7.879 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/1.27, allocations: 1.305 MB / 1.283 GB, free: 6.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/1.273, allocations: 1.159 MB / 1.284 GB, free: 5.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/1.276, allocations: 1.107 MB / 1.285 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005463/1.276, allocations: 128 kB / 1.286 GB, free: 4.148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/1.279, allocations: 0.916 MB / 1.286 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007085/1.28, allocations: 486 kB / 1.287 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002159/1.282, allocations: 1.091 MB / 1.288 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006266/1.288, allocations: 3.457 MB / 1.291 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.288, allocations: 0 / 1.291 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.785e-06/1.288, allocations: 0 / 1.291 GB, free: 14.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001419/1.288, allocations: 0 / 1.291 GB, free: 14.19 MB / 1.029 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.005857/1.294, allocations: 2.813 MB / 1.294 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.294, allocations: 8.031 kB / 1.294 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/1.296, allocations: 372.5 kB / 1.294 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/1.299, allocations: 2.013 MB / 1.296 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/1.299, allocations: 62 kB / 1.297 GB, free: 8.797 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.299, allocations: 76 kB / 1.297 GB, free: 8.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/1.301, allocations: 0.9407 MB / 1.298 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.301, allocations: 0 / 1.298 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/1.301, allocations: 32 kB / 1.298 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/1.301, allocations: 32.92 kB / 1.298 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/1.302, allocations: 0.6985 MB / 1.298 GB, free: 6.969 MB / 1.029 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.005866/1.308, allocations: 4.456 MB / 1.303 GB, free: 2.301 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/1.308, allocations: 311.2 kB / 1.303 GB, free: 1.988 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/1.309, allocations: 176.8 kB / 1.303 GB, free: 1.812 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.309, allocations: 97.09 kB / 1.303 GB, free: 1.699 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.309, allocations: 38.5 kB / 1.303 GB, free: 1.652 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/1.309, allocations: 0 / 1.303 GB, free: 1.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.003144/1.312, allocations: 1.711 MB / 1.305 GB, free: 15.86 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.312, allocations: 51.41 kB / 1.305 GB, free: 15.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00374/1.316, allocations: 2.949 MB / 1.308 GB, free: 12.83 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/1.316, allocations: 33.7 kB / 1.308 GB, free: 12.79 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009475/1.317, allocations: 1.062 MB / 1.309 GB, free: 11.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/1.317, allocations: 114.4 kB / 1.309 GB, free: 11.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.317, allocations: 114 kB / 1.309 GB, free: 11.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.317, allocations: 326 kB / 1.309 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/1.317, allocations: 173 kB / 1.31 GB, free: 11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/1.318, allocations: 362.4 kB / 1.31 GB, free: 10.56 MB / 1.045 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.002238/1.32, allocations: 1.092 MB / 1.311 GB, free: 9.363 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.32, allocations: 3.938 kB / 1.311 GB, free: 9.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001372/1.322, allocations: 0.7881 MB / 1.312 GB, free: 8.559 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.322, allocations: 8 kB / 1.312 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.322, allocations: 7.984 kB / 1.312 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/1.322, allocations: 65.3 kB / 1.312 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/1.322, allocations: 103.8 kB / 1.312 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/1.324, allocations: 1.862 MB / 1.314 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/1.325, allocations: 23.98 kB / 1.314 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/1.325, allocations: 27.94 kB / 1.314 GB, free: 6.324 MB / 1.045 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.001208/1.326, allocations: 0.7901 MB / 1.315 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/1.326, allocations: 233 kB / 1.315 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/1.327, allocations: 259.7 kB / 1.315 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.327, allocations: 4 kB / 1.315 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.327, allocations: 4 kB / 1.315 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006708/1.327, allocations: 0.6008 MB / 1.316 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/1.331, allocations: 2.045 MB / 1.318 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.331, allocations: 4 kB / 1.318 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/1.331, allocations: 67.91 kB / 1.318 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/1.331, allocations: 56.75 kB / 1.318 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/1.331, allocations: 20.12 kB / 1.318 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/1.333, allocations: 1.849 MB / 1.32 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.333, allocations: 4 kB / 1.32 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.334, allocations: 0.922 MB / 1.32 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/1.335, allocations: 406.1 kB / 1.321 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/1.335, allocations: 12 kB / 1.321 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.336, allocations: 20.05 kB / 1.321 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/1.336, allocations: 31.84 kB / 1.321 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.336, allocations: 16 kB / 1.321 GB, free: 14.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003035/1.339, allocations: 2.079 MB / 1.323 GB, free: 12.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.339, allocations: 0 / 1.323 GB, free: 12.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001395/1.34, allocations: 304 kB / 1.323 GB, free: 12.2 MB / 1.061 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.0006781/1.341, allocations: 178.5 kB / 1.323 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00116/1.342, allocations: 0.5341 MB / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.342, allocations: 0 / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/1.342, allocations: 299.8 kB / 1.324 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/1.346, allocations: 0.9575 MB / 1.325 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/1.353, allocations: 3.942 MB / 1.329 GB, free: 6.215 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/1.355, allocations: 1.812 MB / 1.331 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/1.355, allocations: 111.4 kB / 1.331 GB, free: 4.262 MB / 1.061 GB Notification: Performance of SimCode: time 1.613e-06/1.355, allocations: 0 / 1.331 GB, free: 4.262 MB / 1.061 GB Notification: Performance of Templates: time 0.06177/1.417, allocations: 43.24 MB / 1.373 GB, free: 9.227 MB / 1.107 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/jenkins1/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