Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.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.001001/0.001001, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001023/0.001023, allocations: 185 kB / 24.09 MB, free: 424 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.9556/0.9556, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.422 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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.262e-05, allocations: 7.062 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001682/0.001704, allocations: 1.318 MB / 0.8133 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002545/0.001959, allocations: 103.7 kB / 0.8134 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.001984, allocations: 3.938 kB / 0.8134 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.002002, allocations: 1.531 kB / 0.8134 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.00207, allocations: 7.922 kB / 0.8134 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.00224, allocations: 41.03 kB / 0.8134 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.0023, allocations: 20 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.182e-05/0.002331, allocations: 1.594 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.422e-05/0.002366, allocations: 7.984 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.00242, allocations: 4 kB / 0.8135 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.002434, allocations: 0 / 0.8135 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.002544, allocations: 52.64 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.002556, allocations: 0 / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.002569, allocations: 8.469 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.26e-05/0.002661, allocations: 49.53 kB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002663, allocations: 0 / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002664, allocations: 0 / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.002667, allocations: 0 / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002675/0.002934, allocations: 352.8 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.002966, allocations: 12.03 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.002988, allocations: 5.797 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.152e-05/0.00306, allocations: 125.3 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.003067, allocations: 384 / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-06/0.003072, allocations: 1.531 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.165e-05/0.003124, allocations: 34.27 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-06/0.003129, allocations: 3.938 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.003134, allocations: 1.375 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.003137, allocations: 0 / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.311e-05/0.003151, allocations: 4 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.904e-05/0.00324, allocations: 97.25 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.588e-05/0.003275, allocations: 32.78 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.109e-05/0.003287, allocations: 7.688 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.003545, allocations: 88.27 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.003563, allocations: 33.89 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.003564, allocations: 4.5 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 9.589e-05/0.00366, allocations: 43.25 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.003682, allocations: 55.34 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.003751, allocations: 157.9 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.003761, allocations: 25.7 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.003797, allocations: 141.3 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.003817, allocations: 3.953 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.003839, allocations: 19.38 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.003944, allocations: 492.1 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.003952, allocations: 8 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.003958, allocations: 0 / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.938e-05/0.003977, allocations: 12.19 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003979, allocations: 1.031 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.129e-05/0.00402, allocations: 37.69 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004031, allocations: 8.906 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.004035, allocations: 0 / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.004044, allocations: 0.8438 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-05/0.00408, allocations: 11.88 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.004082, allocations: 0 / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.004093, allocations: 2.188 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-06/0.004095, allocations: 0 / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.00416, allocations: 164.6 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.004166, allocations: 7.938 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.004221, allocations: 38.77 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004223, allocations: 0 / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.004226, allocations: 4.125 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004228, allocations: 0 / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.188e-05/0.00429, allocations: 105.2 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004291, allocations: 0.9375 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.004301, allocations: 4 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.004302, allocations: 0 / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-06/0.004305, allocations: 1.125 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.004307, allocations: 3.938 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004308, allocations: 4 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.954e-05/0.004358, allocations: 77.5 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.004364, allocations: 3.875 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-06/0.00437, allocations: 1.031 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.004377, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.004386, allocations: 8 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.004388, allocations: 0.7812 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.004419, allocations: 131.1 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004419, allocations: 5.812 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001293/0.004549, allocations: 15.94 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.004661, allocations: 115.2 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.676e-05/0.004708, allocations: 16.97 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.004709, allocations: 4 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.485e-06/0.004717, allocations: 7.688 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.004846, allocations: 12.89 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.005154, allocations: 110.9 kB / 0.8161 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.392e-05/0.005178, allocations: 51.36 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.005198, allocations: 7.984 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.005238, allocations: 70.2 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of SimCode: time 4.5e-07/0.005239, allocations: 0 / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.002005/0.007244, allocations: 0.7452 MB / 0.817 GB, free: 12.11 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_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: 4.764974643010646]