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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001145/0.001145, 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.001161/0.001161, allocations: 194.6 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.18/1.18, 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 10.1.1-maint.10.0.x/package.mo): time 2.21/2.21, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 59.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4934, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1587/0.6521, allocations: 179.3 MB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.6656, allocations: 10.97 MB / 1.203 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.6675, allocations: 83.56 kB / 1.203 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.6718, allocations: 1.997 MB / 1.205 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.6751, allocations: 1.613 MB / 1.207 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.6769, allocations: 0.7901 MB / 1.207 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.6798, allocations: 3.123 MB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.6811, allocations: 1.309 MB / 1.212 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.6823, allocations: 1.1 MB / 1.213 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.6836, allocations: 1.125 MB / 1.214 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.6838, allocations: 128 kB / 1.214 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.6853, allocations: 0.916 MB / 1.215 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.6857, allocations: 486 kB / 1.215 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000839/0.6865, allocations: 1.091 MB / 1.216 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.6892, allocations: 3.216 MB / 1.22 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6892, allocations: 0 / 1.22 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6892, allocations: 0 / 1.22 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.6892, allocations: 0 / 1.22 GB, free: 2.691 MB / 0.9669 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.003052/0.6923, allocations: 2.747 MB / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.6923, allocations: 12.03 kB / 1.222 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.6935, allocations: 380.4 kB / 1.223 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.6958, allocations: 1.888 MB / 1.225 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.6958, allocations: 62 kB / 1.225 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.6959, allocations: 72 kB / 1.225 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.6971, allocations: 0.9445 MB / 1.226 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6971, allocations: 0 / 1.226 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.6972, allocations: 32 kB / 1.226 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.6973, allocations: 28.94 kB / 1.226 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009539/0.6982, allocations: 0.7064 MB / 1.226 GB, free: 11.65 MB / 0.9825 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.004596/0.7028, allocations: 4.487 MB / 1.231 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.7032, allocations: 314.6 kB / 1.231 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.7035, allocations: 181.3 kB / 1.231 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.7036, allocations: 93.09 kB / 1.231 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.7037, allocations: 38.56 kB / 1.231 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.7037, allocations: 0 / 1.231 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.002481/0.7062, allocations: 1.713 MB / 1.233 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.7062, allocations: 59.34 kB / 1.233 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.7093, allocations: 2.973 MB / 1.236 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.7093, allocations: 29.7 kB / 1.236 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/0.7101, allocations: 1.054 MB / 1.237 GB, free: 360 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.7102, allocations: 118.3 kB / 1.237 GB, free: 240 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.7104, allocations: 106.1 kB / 1.237 GB, free: 128 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7105, allocations: 338 kB / 1.238 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.7107, allocations: 161 kB / 1.238 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.7111, allocations: 366.8 kB / 1.238 GB, free: 15.18 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.001869/0.7129, allocations: 1.08 MB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.713, allocations: 7.938 kB / 1.239 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001002/0.714, allocations: 0.7965 MB / 1.24 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.714, allocations: 8 kB / 1.24 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.714, allocations: 8 kB / 1.24 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.7142, allocations: 57.39 kB / 1.24 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.7145, allocations: 107.8 kB / 1.24 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.7159, allocations: 1.865 MB / 1.242 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/0.7166, allocations: 28.41 kB / 1.242 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.7166, allocations: 27.94 kB / 1.242 GB, free: 10.95 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 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.0008371/0.7175, allocations: 0.7941 MB / 1.243 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.7177, allocations: 233 kB / 1.243 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.718, allocations: 259.6 kB / 1.243 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.718, allocations: 7.984 kB / 1.243 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.718, allocations: 0 / 1.243 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005953/0.7186, allocations: 0.6011 MB / 1.244 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.721, allocations: 2.061 MB / 1.246 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7211, allocations: 0 / 1.246 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.7213, allocations: 63.91 kB / 1.246 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.7215, allocations: 60.94 kB / 1.246 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.7215, allocations: 12 kB / 1.246 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.7228, allocations: 1.858 MB / 1.248 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.7228, allocations: 7.938 kB / 1.248 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.7238, allocations: 0.9296 MB / 1.249 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.7243, allocations: 417.9 kB / 1.249 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.7245, allocations: 12 kB / 1.249 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.725, allocations: 11.98 kB / 1.249 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.725, allocations: 35.84 kB / 1.249 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.7251, allocations: 12 kB / 1.249 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002287/0.7274, allocations: 2.107 MB / 1.251 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7274, allocations: 0 / 1.251 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008062/0.7282, allocations: 304 kB / 1.251 GB, free: 0.7734 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 (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.0003195/0.7285, allocations: 170.4 kB / 1.252 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007716/0.7293, allocations: 0.5452 MB / 1.252 GB, free: 48 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7293, allocations: 0 / 1.252 GB, free: 48 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3724/1.102, allocations: 299.7 kB / 1.252 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/1.106, allocations: 0.9478 MB / 1.253 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/1.113, allocations: 4.193 MB / 1.257 GB, free: 231 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002296/1.115, allocations: 1.954 MB / 1.259 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001314/1.116, allocations: 344.4 kB / 1.26 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.117, allocations: 101.7 kB / 1.26 GB, free: 230 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.117, allocations: 0.75 kB / 1.26 GB, free: 230 MB / 0.9981 GB Notification: Performance of Templates: time 0.04343/1.16, allocations: 29.79 MB / 1.289 GB, free: 214.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