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.001114/0.001114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001135/0.001135, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.253/2.253, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 67.89 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4834, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1538/0.6373, allocations: 176.8 MB / 1.189 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.6508, allocations: 10.84 MB / 1.2 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.6529, allocations: 75.56 kB / 1.2 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0048/0.6578, allocations: 1.87 MB / 1.202 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.6614, allocations: 1.485 MB / 1.203 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.6631, allocations: 0.7191 MB / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.6663, allocations: 3.157 MB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.6676, allocations: 1.301 MB / 1.208 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.6688, allocations: 1.128 MB / 1.21 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.6704, allocations: 1.152 MB / 1.211 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.6706, allocations: 128 kB / 1.211 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.6719, allocations: 0.9549 MB / 1.212 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.6723, allocations: 486 kB / 1.212 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008377/0.6732, allocations: 1.092 MB / 1.213 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.676, allocations: 3.27 MB / 1.216 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.676, allocations: 0 / 1.216 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.676, allocations: 0 / 1.216 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.676, allocations: 4 kB / 1.216 GB, free: 5.5 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.003243/0.6793, allocations: 2.751 MB / 1.219 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.6793, allocations: 12.03 kB / 1.219 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.6805, allocations: 376.5 kB / 1.22 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.6829, allocations: 1.884 MB / 1.221 GB, free: 360 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.6829, allocations: 62 kB / 1.221 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.683, allocations: 80 kB / 1.222 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6843, allocations: 0.9367 MB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.6843, allocations: 7.984 kB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.6844, allocations: 32 kB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.6844, allocations: 36.86 kB / 1.222 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009994/0.6854, allocations: 0.6986 MB / 1.223 GB, free: 14.46 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.00479/0.6902, allocations: 4.479 MB / 1.228 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.6907, allocations: 306.7 kB / 1.228 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.6909, allocations: 197.4 kB / 1.228 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.6911, allocations: 93.09 kB / 1.228 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6911, allocations: 38.56 kB / 1.228 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.6911, allocations: 0 / 1.228 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.00253/0.6937, allocations: 1.7 MB / 1.23 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.6937, allocations: 55.34 kB / 1.23 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.6969, allocations: 2.981 MB / 1.233 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.6969, allocations: 33.7 kB / 1.233 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008316/0.6977, allocations: 1.054 MB / 1.234 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.6978, allocations: 118.3 kB / 1.234 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.698, allocations: 110.1 kB / 1.234 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6981, allocations: 330 kB / 1.234 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.6983, allocations: 165 kB / 1.235 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.6987, allocations: 370.4 kB / 1.235 GB, free: 1.992 MB / 0.9825 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.001901/0.7006, allocations: 1.077 MB / 1.236 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7006, allocations: 3.938 kB / 1.236 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001024/0.7016, allocations: 0.8008 MB / 1.237 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7017, allocations: 8 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.7017, allocations: 4 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.7019, allocations: 60.81 kB / 1.237 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.7022, allocations: 103.7 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.7037, allocations: 1.865 MB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.7044, allocations: 54.03 kB / 1.239 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.7044, allocations: 31.88 kB / 1.239 GB, free: 13.74 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.0008066/0.7052, allocations: 0.7959 MB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.7055, allocations: 229.1 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.7058, allocations: 255.7 kB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7058, allocations: 4 kB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7058, allocations: 0 / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006076/0.7064, allocations: 0.597 MB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.709, allocations: 2.055 MB / 1.243 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.709, allocations: 4 kB / 1.243 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.7093, allocations: 63.84 kB / 1.243 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.7094, allocations: 60.81 kB / 1.243 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.7094, allocations: 8 kB / 1.243 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.7108, allocations: 1.869 MB / 1.245 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7108, allocations: 4 kB / 1.245 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.7118, allocations: 0.9295 MB / 1.245 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.7123, allocations: 410.1 kB / 1.246 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.7126, allocations: 19.92 kB / 1.246 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.7132, allocations: 23.89 kB / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.7132, allocations: 35.91 kB / 1.246 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.7132, allocations: 16 kB / 1.246 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002494/0.7157, allocations: 2.103 MB / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7157, allocations: 0 / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008382/0.7166, allocations: 296 kB / 1.248 GB, free: 3.566 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.0003629/0.717, allocations: 177.5 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00082/0.7178, allocations: 0.5464 MB / 1.249 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7178, allocations: 8.125 kB / 1.249 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.7182, allocations: 303.8 kB / 1.249 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.7213, allocations: 0.9651 MB / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3698/1.091, allocations: 4.756 MB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.093, allocations: 1.957 MB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001234/1.094, allocations: 393.1 kB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/1.094, allocations: 118 kB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.094, allocations: 1.969 kB / 1.257 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04382/1.138, allocations: 30.26 MB / 1.287 GB, free: 215.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