Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, 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.001632/0.001632, allocations: 169 kB / 24.28 MB, free: 280 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.8802/0.8802, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.767/1.767, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.371e-05, allocations: 3.125 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1454/0.1454, allocations: 189.9 MB / 0.997 GB, free: 3.562 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004518/0.1499, allocations: 4.113 MB / 1.001 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.1503, allocations: 27.75 kB / 1.001 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.1511, allocations: 464.8 kB / 1.001 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.1533, allocations: 1.601 MB / 1.003 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.1553, allocations: 1.452 MB / 1.004 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.1568, allocations: 1.658 MB / 1.006 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.1575, allocations: 0.9003 MB / 1.007 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1587, allocations: 1.368 MB / 1.008 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.1593, allocations: 0.7831 MB / 1.009 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1594, allocations: 100 kB / 1.009 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1605, allocations: 1.11 MB / 1.01 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.1608, allocations: 386.9 kB / 1.011 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.161, allocations: 395.1 kB / 1.011 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.1622, allocations: 1.414 MB / 1.012 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1622, allocations: 0 / 1.012 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1622, allocations: 0 / 1.012 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.1622, allocations: 4 kB / 1.012 GB, free: 3.75 MB / 0.9636 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.001713/0.1639, allocations: 1.28 MB / 1.014 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1639, allocations: 8.031 kB / 1.014 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.165, allocations: 326.7 kB / 1.014 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.1656, allocations: 0.5565 MB / 1.014 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1656, allocations: 45 kB / 1.014 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/0.1657, allocations: 48 kB / 1.015 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.1665, allocations: 0.8745 MB / 1.015 GB, free: 452 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1665, allocations: 0 / 1.015 GB, free: 452 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.1666, allocations: 27.94 kB / 1.015 GB, free: 424 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.1666, allocations: 27.98 kB / 1.015 GB, free: 396 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.1673, allocations: 0.5092 MB / 1.016 GB, free: 15.88 MB / 0.9792 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.003054/0.1704, allocations: 4.316 MB / 1.02 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.1708, allocations: 324.9 kB / 1.02 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.1712, allocations: 285.1 kB / 1.021 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.1715, allocations: 132.4 kB / 1.021 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1715, allocations: 41.89 kB / 1.021 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001217/0.1728, allocations: 0.6282 MB / 1.022 GB, free: 10 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=50): time 1.744e-06/0.1728, allocations: 0 / 1.022 GB, free: 10 MB / 0.9792 GB Notification: Performance of matching and sorting (n=50): time 0.007723/0.1805, allocations: 2.617 MB / 1.024 GB, free: 7.371 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.1805, allocations: 59.89 kB / 1.024 GB, free: 7.301 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.1809, allocations: 0.5582 MB / 1.025 GB, free: 6.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.181, allocations: 37.7 kB / 1.025 GB, free: 6.688 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.1812, allocations: 387.8 kB / 1.025 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1813, allocations: 178.4 kB / 1.025 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1814, allocations: 159.7 kB / 1.025 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1816, allocations: 0.5469 MB / 1.026 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.1819, allocations: 204.8 kB / 1.026 GB, free: 5.203 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.1822, allocations: 369.9 kB / 1.026 GB, free: 4.789 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.1832, allocations: 0.5653 MB / 1.027 GB, free: 4.188 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1832, allocations: 4 kB / 1.027 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.004923/0.1881, allocations: 1.787 MB / 1.029 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1881, allocations: 14.64 kB / 1.029 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1881, allocations: 0 / 1.029 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/0.194, allocations: 2.106 MB / 1.031 GB, free: 260 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.1942, allocations: 91.88 kB / 1.031 GB, free: 168 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/0.2005, allocations: 5.635 MB / 1.036 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.2008, allocations: 15.98 kB / 1.036 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.2009, allocations: 47.94 kB / 1.037 GB, free: 10.2 MB / 0.9948 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.0001827/0.2011, allocations: 188.4 kB / 1.037 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2012, allocations: 91.53 kB / 1.037 GB, free: 9.914 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.2037, allocations: 1.369 MB / 1.038 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2037, allocations: 8 kB / 1.038 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2037, allocations: 12.12 kB / 1.038 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2037, allocations: 3.984 kB / 1.038 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.2067, allocations: 1.966 MB / 1.04 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2067, allocations: 0 / 1.04 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.2069, allocations: 87.89 kB / 1.04 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.2095, allocations: 1.342 MB / 1.041 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.2096, allocations: 19.94 kB / 1.041 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/0.2131, allocations: 4.451 MB / 1.046 GB, free: 320 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2131, allocations: 0 / 1.046 GB, free: 320 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3043/0.5174, allocations: 1.571 MB / 1.047 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.5176, allocations: 146.9 kB / 1.047 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.181e-05/0.5177, allocations: 10.41 kB / 1.047 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.518, allocations: 20.06 kB / 1.048 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.5181, allocations: 53.59 kB / 1.048 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.5182, allocations: 27.25 kB / 1.048 GB, free: 276.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002348/0.5184, allocations: 379.7 kB / 1.048 GB, free: 276.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5184, allocations: 0 / 1.048 GB, free: 276.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006756/0.5191, allocations: 301.4 kB / 1.048 GB, free: 276.4 MB / 0.9948 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.0002867/0.5194, allocations: 205.1 kB / 1.048 GB, free: 276.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.521, allocations: 1.224 MB / 1.05 GB, free: 275.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.521, allocations: 1.594 kB / 1.05 GB, free: 275.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.5218, allocations: 0.8556 MB / 1.05 GB, free: 275.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/0.5227, allocations: 366 kB / 1.051 GB, free: 275.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.5244, allocations: 1.518 MB / 1.052 GB, free: 274.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.5245, allocations: 196.1 kB / 1.052 GB, free: 274.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.5248, allocations: 131.1 kB / 1.053 GB, free: 274.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5249, allocations: 58.59 kB / 1.053 GB, free: 274.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.242e-06/0.5249, allocations: 0 / 1.053 GB, free: 274.8 MB / 0.9948 GB Notification: Performance of Templates: time 0.01967/0.5446, allocations: 21.38 MB / 1.074 GB, free: 272.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.713319801958278]