Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 168.2 kB / 24.86 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9397/0.9397, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.771/1.771, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7884 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.767e-05, allocations: 2.969 kB / 0.7884 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1578/0.1579, allocations: 153.3 MB / 0.9381 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1706, allocations: 10.26 MB / 0.9482 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.1724, allocations: 135 kB / 0.9483 GB, free: 7.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.1757, allocations: 1.81 MB / 0.95 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.1782, allocations: 1.389 MB / 0.9514 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1795, allocations: 0.7676 MB / 0.9522 GB, free: 3.859 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002675/0.1822, allocations: 3.23 MB / 0.9553 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009419/0.1831, allocations: 1.001 MB / 0.9563 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.1851, allocations: 1.726 MB / 0.958 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008412/0.1859, allocations: 0.9348 MB / 0.9589 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.1861, allocations: 124 kB / 0.959 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.1867, allocations: 423.1 kB / 0.9594 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.187, allocations: 0.4979 MB / 0.9599 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.1875, allocations: 0.6389 MB / 0.9605 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.1892, allocations: 2.183 MB / 0.9626 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1892, allocations: 8 kB / 0.9627 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1892, allocations: 0 / 0.9627 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.1893, allocations: 0 / 0.9627 GB, free: 9.09 MB / 0.9167 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.002324/0.1916, allocations: 3.013 MB / 0.9656 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.274e-05/0.1916, allocations: 16.03 kB / 0.9656 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.1924, allocations: 461.9 kB / 0.9661 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.1941, allocations: 1.73 MB / 0.9677 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1941, allocations: 58 kB / 0.9678 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.1942, allocations: 76 kB / 0.9679 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.1948, allocations: 0.7031 MB / 0.9686 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1948, allocations: 4 kB / 0.9686 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.1948, allocations: 32 kB / 0.9686 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.1949, allocations: 28.98 kB / 0.9686 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1952, allocations: 234.6 kB / 0.9688 GB, free: 2.543 MB / 0.9167 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.003201/0.1984, allocations: 4.148 MB / 0.9729 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1986, allocations: 151.2 kB / 0.973 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.1987, allocations: 70.03 kB / 0.9731 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.1987, allocations: 19.98 kB / 0.9731 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1988, allocations: 45.39 kB / 0.9732 GB, free: 14 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=29): time 1.272e-06/0.1988, allocations: 0 / 0.9732 GB, free: 14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001279/0.2, allocations: 0.8213 MB / 0.974 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.2002, allocations: 55.41 kB / 0.974 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.2021, allocations: 2.52 MB / 0.9765 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2021, allocations: 33.7 kB / 0.9765 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008635/0.203, allocations: 1.364 MB / 0.9778 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.203, allocations: 119 kB / 0.978 GB, free: 9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2032, allocations: 147.8 kB / 0.9781 GB, free: 8.848 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2033, allocations: 0.516 MB / 0.9786 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.2034, allocations: 57.27 kB / 0.9787 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2036, allocations: 0.532 MB / 0.9792 GB, free: 7.535 MB / 0.9323 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.0005955/0.2042, allocations: 0.7049 MB / 0.9799 GB, free: 6.645 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2042, allocations: 0 / 0.9799 GB, free: 6.645 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006304/0.2049, allocations: 0.672 MB / 0.9805 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2049, allocations: 12.88 kB / 0.9805 GB, free: 5.949 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2049, allocations: 8 kB / 0.9805 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001232/0.205, allocations: 59.64 kB / 0.9806 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2053, allocations: 127.8 kB / 0.9807 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.2063, allocations: 2.072 MB / 0.9827 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.2067, allocations: 35.89 kB / 0.9828 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.2067, allocations: 32.14 kB / 0.9828 GB, free: 3.504 MB / 0.9323 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: 45 * 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 (74): * Single equations (assignments): 73 * 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.0002586/0.207, allocations: 208.3 kB / 0.983 GB, free: 3.289 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.2072, allocations: 246.4 kB / 0.9832 GB, free: 3.047 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.2074, allocations: 202.6 kB / 0.9834 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2074, allocations: 0 / 0.9834 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2074, allocations: 4 kB / 0.9834 GB, free: 2.836 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000279/0.2076, allocations: 427 kB / 0.9838 GB, free: 2.348 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.2095, allocations: 2.057 MB / 0.9859 GB, free: 188 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2095, allocations: 3.984 kB / 0.9859 GB, free: 184 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.2097, allocations: 63.91 kB / 0.9859 GB, free: 120 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.145e-05/0.2098, allocations: 44.06 kB / 0.986 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2098, allocations: 8 kB / 0.986 GB, free: 64 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009981/0.2108, allocations: 2.075 MB / 0.988 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2108, allocations: 7.938 kB / 0.988 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.2113, allocations: 0.7355 MB / 0.9887 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.2116, allocations: 291.5 kB / 0.989 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.2118, allocations: 15.94 kB / 0.989 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.2121, allocations: 12 kB / 0.989 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.2121, allocations: 31.89 kB / 0.9891 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2121, allocations: 11.94 kB / 0.9891 GB, free: 12.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001077/0.2132, allocations: 1.256 MB / 0.9903 GB, free: 11.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.2132, allocations: 4 kB / 0.9903 GB, free: 11.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006633/0.2139, allocations: 311.9 kB / 0.9906 GB, free: 11.13 MB / 0.948 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 (28): * Single equations (assignments): 27 * 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.0002132/0.2141, allocations: 139.1 kB / 0.9907 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.2145, allocations: 463.5 kB / 0.9912 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2145, allocations: 1.625 kB / 0.9912 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.2147, allocations: 290 kB / 0.9915 GB, free: 10.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.2166, allocations: 0.8756 MB / 0.9923 GB, free: 9.355 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.2202, allocations: 3.437 MB / 0.9957 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.2206, allocations: 0.6436 MB / 0.9963 GB, free: 5.129 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004719/0.2211, allocations: 214.1 kB / 0.9965 GB, free: 4.914 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.2222, allocations: 0.6266 MB / 0.9971 GB, free: 4.285 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/0.2222, allocations: 0 / 0.9971 GB, free: 4.285 MB / 0.948 GB Notification: Performance of Templates: time 0.03465/0.2568, allocations: 31.51 MB / 1.028 GB, free: 5.5 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.53635029355064]