Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.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.0009765/0.0009765, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009373/0.0009373, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9107/0.9107, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.755/1.755, allocations: 359 MB / 0.6055 GB, free: 11 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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.005e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1533/0.1533, allocations: 189.8 MB / 0.9725 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.1577, allocations: 4.119 MB / 0.9765 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004006/0.1581, allocations: 31.75 kB / 0.9765 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008694/0.159, allocations: 460.8 kB / 0.977 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.1612, allocations: 1.617 MB / 0.9786 GB, free: 8.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1632, allocations: 1.448 MB / 0.98 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.1646, allocations: 1.666 MB / 0.9816 GB, free: 4.98 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008382/0.1655, allocations: 0.912 MB / 0.9825 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.1666, allocations: 1.212 MB / 0.9837 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.1674, allocations: 0.7909 MB / 0.9844 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.1675, allocations: 100 kB / 0.9845 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1688, allocations: 1.129 MB / 0.9856 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.169, allocations: 382.9 kB / 0.986 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.1693, allocations: 395.1 kB / 0.9864 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.1708, allocations: 1.418 MB / 0.9878 GB, free: 14.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1708, allocations: 0 / 0.9878 GB, free: 14.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1708, allocations: 0 / 0.9878 GB, free: 14.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.1708, allocations: 0 / 0.9878 GB, free: 14.63 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001647/0.1725, allocations: 1.292 MB / 0.989 GB, free: 13.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1725, allocations: 8.031 kB / 0.989 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.1736, allocations: 314.8 kB / 0.9893 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.1742, allocations: 0.5566 MB / 0.9899 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1742, allocations: 37 kB / 0.9899 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.1743, allocations: 52 kB / 0.99 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.1752, allocations: 0.8745 MB / 0.9908 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1752, allocations: 7.938 kB / 0.9908 GB, free: 11.31 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.1752, allocations: 24 kB / 0.9908 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.1753, allocations: 28 kB / 0.9909 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/0.176, allocations: 0.513 MB / 0.9914 GB, free: 10.75 MB / 0.948 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.002996/0.179, allocations: 4.32 MB / 0.9956 GB, free: 6.289 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.1795, allocations: 326.6 kB / 0.9959 GB, free: 5.961 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.1799, allocations: 292.3 kB / 0.9962 GB, free: 5.672 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/0.1802, allocations: 128.4 kB / 0.9963 GB, free: 5.547 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1803, allocations: 45.89 kB / 0.9964 GB, free: 5.492 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001177/0.1814, allocations: 0.6282 MB / 0.997 GB, free: 4.863 MB / 0.948 GB Notification: Performance of pre-optimization done (n=50): time 3.276e-06/0.1815, allocations: 0 / 0.997 GB, free: 4.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=50): time 0.007475/0.1889, allocations: 2.613 MB / 0.9995 GB, free: 2.234 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.189, allocations: 59.91 kB / 0.9996 GB, free: 2.164 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.1894, allocations: 0.5582 MB / 1 GB, free: 1.594 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.1894, allocations: 33.7 kB / 1 GB, free: 1.555 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1896, allocations: 391.8 kB / 1.001 GB, free: 1.164 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1897, allocations: 186.4 kB / 1.001 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1899, allocations: 155.7 kB / 1.001 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.19, allocations: 0.5508 MB / 1.001 GB, free: 264 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.1903, allocations: 200.8 kB / 1.002 GB, free: 64 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.1907, allocations: 369.9 kB / 1.002 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.1913, allocations: 0.5653 MB / 1.002 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1913, allocations: 0 / 1.002 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.004816/0.1962, allocations: 1.783 MB / 1.004 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1962, allocations: 4 kB / 1.004 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1962, allocations: 4 kB / 1.004 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00564/0.2018, allocations: 2.11 MB / 1.006 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.2021, allocations: 95.8 kB / 1.006 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006102/0.2082, allocations: 5.635 MB / 1.012 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.2085, allocations: 20 kB / 1.012 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.2085, allocations: 47.92 kB / 1.012 GB, free: 5.066 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.2087, allocations: 184.5 kB / 1.012 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.2089, allocations: 91.53 kB / 1.012 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.2112, allocations: 1.381 MB / 1.014 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2112, allocations: 4 kB / 1.014 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2112, allocations: 4 kB / 1.014 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.2112, allocations: 3.984 kB / 1.014 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.2141, allocations: 1.955 MB / 1.015 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2141, allocations: 8.031 kB / 1.015 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.2143, allocations: 87.89 kB / 1.016 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.2169, allocations: 1.35 MB / 1.017 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.2169, allocations: 23.92 kB / 1.017 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.2203, allocations: 4.439 MB / 1.021 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2203, allocations: 4 kB / 1.021 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.2226, allocations: 1.579 MB / 1.023 GB, free: 9.551 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.2228, allocations: 139.4 kB / 1.023 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.2229, allocations: 16 kB / 1.023 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.2231, allocations: 19.92 kB / 1.023 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.2233, allocations: 56.34 kB / 1.023 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.2233, allocations: 20 kB / 1.023 GB, free: 9.305 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002723/0.2236, allocations: 379 kB / 1.023 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2236, allocations: 0 / 1.023 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007444/0.2243, allocations: 303.6 kB / 1.024 GB, free: 8.641 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,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.0003114/0.2246, allocations: 210.9 kB / 1.024 GB, free: 8.426 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.2264, allocations: 1.225 MB / 1.025 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2264, allocations: 256 / 1.025 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008424/0.2272, allocations: 0.8624 MB / 1.026 GB, free: 6.262 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.2281, allocations: 363.2 kB / 1.026 GB, free: 5.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.2301, allocations: 1.517 MB / 1.028 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.2302, allocations: 192.4 kB / 1.028 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002813/0.2305, allocations: 125.3 kB / 1.028 GB, free: 4.008 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2306, allocations: 60.48 kB / 1.028 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of SimCode: time 8.81e-07/0.2306, allocations: 0 / 1.028 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of Templates: time 0.3207/0.5513, allocations: 21.38 MB / 1.049 GB, free: 302.6 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.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.703367023030296]