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.001296/0.001296, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001389/0.001389, allocations: 165.3 kB / 23.82 MB, free: 0.7461 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.8727/0.8727, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.722/1.722, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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 9.32e-07/9.32e-07, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.117e-06/1.005e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001563/0.001573, allocations: 1.311 MB / 0.8128 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001689/0.001742, allocations: 112.4 kB / 0.8129 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.001756, allocations: 1.688 kB / 0.8129 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.001769, allocations: 7.922 kB / 0.8129 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.001807, allocations: 0 / 0.8129 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.001927, allocations: 49.34 kB / 0.813 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 2.842e-05/0.001955, allocations: 7.938 kB / 0.813 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 1.988e-05/0.001975, allocations: 4 kB / 0.813 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.001996, allocations: 7.984 kB / 0.813 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.002026, allocations: 4.719 kB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.002035, allocations: 4 kB / 0.813 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.002112, allocations: 49.09 kB / 0.8131 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.002121, allocations: 4 kB / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.121e-05/0.002132, allocations: 1.375 kB / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.456e-05/0.002207, allocations: 47.86 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002208, allocations: 0 / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002209, allocations: 0 / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.595e-06/0.002211, allocations: 1.75 kB / 0.8131 GB, free: 144 kB / 0.7605 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.0002267/0.002438, allocations: 356.3 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.452e-05/0.002462, allocations: 8.031 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.002484, allocations: 9.234 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.298e-05/0.002547, allocations: 113.7 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.002555, allocations: 4.375 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-06/0.00256, allocations: 4.312 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.332e-05/0.002603, allocations: 35.73 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.002608, allocations: 3.938 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-06/0.002613, allocations: 0 / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.002618, allocations: 0 / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.002634, allocations: 6.594 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.757e-05/0.002712, allocations: 112.6 kB / 0.8137 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.204e-05/0.002744, allocations: 31.09 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.002758, allocations: 15.62 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.002992, allocations: 84.48 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.003008, allocations: 37.88 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.003009, allocations: 0 / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 7.286e-05/0.003081, allocations: 46.67 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.0031, allocations: 51.41 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.003153, allocations: 162.8 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.00316, allocations: 25.7 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.00319, allocations: 127.7 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.003203, allocations: 3.953 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.003222, allocations: 21.59 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.003313, allocations: 0.4883 MB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-06/0.003319, allocations: 4 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.003325, allocations: 3.984 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.673e-05/0.003342, allocations: 11.69 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.003343, allocations: 6.719 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.023e-05/0.003383, allocations: 37.89 kB / 0.8148 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.003391, allocations: 4 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.003394, allocations: 0 / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.003401, allocations: 3.938 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.843e-05/0.003429, allocations: 7.984 kB / 0.8149 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.003432, allocations: 3.938 kB / 0.8149 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.003442, allocations: 5.547 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-06/0.003445, allocations: 4 kB / 0.8149 GB, free: 14.14 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 4.796e-05/0.003493, allocations: 152.6 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-06/0.003498, allocations: 4.453 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.00355, allocations: 45.75 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.003552, allocations: 3.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.003554, allocations: 9.812 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003556, allocations: 0 / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.118e-05/0.003607, allocations: 108.6 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003608, allocations: 4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.003615, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.003616, allocations: 1.344 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.003622, allocations: 11.98 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.003622, allocations: 0 / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.003625, allocations: 7.922 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.448e-05/0.003669, allocations: 73.33 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.003675, allocations: 8 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-06/0.003683, allocations: 4.641 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.003689, allocations: 3.688 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.003699, allocations: 3.938 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.003701, allocations: 4 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.488e-05/0.003726, allocations: 119.2 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.003726, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001193/0.003845, allocations: 15.94 kB / 0.8154 GB, free: 13.51 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 8.874e-05/0.003934, allocations: 119.2 kB / 0.8155 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.31e-05/0.003977, allocations: 15.62 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.003978, allocations: 1.719 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.003988, allocations: 15.67 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.004096, allocations: 7.938 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.004376, allocations: 120.5 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.122e-05/0.004397, allocations: 51.36 kB / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.004415, allocations: 9.109 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.004426, allocations: 8.5 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.004426, allocations: 1.062 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.001698/0.006124, allocations: 0.7196 MB / 0.8165 GB, free: 12.41 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.447800354100764]