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.001413/0.001413, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001046/0.001046, allocations: 169.1 kB / 24.87 MB, free: 9.262 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.9176/0.9176, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.826/1.826, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.503e-06/1.503e-06, allocations: 0 / 0.8128 GB, free: 312 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.779e-05, allocations: 3.25 kB / 0.8128 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001622/0.00164, allocations: 1.315 MB / 0.814 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.001873, allocations: 117 kB / 0.8141 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.001898, allocations: 0 / 0.8141 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.001915, allocations: 0.6875 kB / 0.8142 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.001988, allocations: 13.33 kB / 0.8142 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.002165, allocations: 31.89 kB / 0.8142 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.002209, allocations: 13.22 kB / 0.8142 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.002246, allocations: 3.984 kB / 0.8142 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.002285, allocations: 11.94 kB / 0.8142 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.002342, allocations: 13.22 kB / 0.8142 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.002358, allocations: 0 / 0.8142 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.002492, allocations: 43.95 kB / 0.8143 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.002514, allocations: 1.719 kB / 0.8143 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.002533, allocations: 7.984 kB / 0.8143 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.002675, allocations: 43.88 kB / 0.8143 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002677, allocations: 0 / 0.8143 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.373e-06/0.002678, allocations: 3.938 kB / 0.8143 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.002683, allocations: 4.812 kB / 0.8143 GB, free: 14.7 MB / 0.7292 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.0006049/0.003288, allocations: 364.9 kB / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.003325, allocations: 8.031 kB / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.003349, allocations: 1.625 kB / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.003426, allocations: 112.6 kB / 0.8148 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.003434, allocations: 1.281 kB / 0.8148 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-06/0.00344, allocations: 384 / 0.8148 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.667e-05/0.003497, allocations: 34.91 kB / 0.8148 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.003503, allocations: 3.938 kB / 0.8148 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.003508, allocations: 0.9688 kB / 0.8148 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.003511, allocations: 0 / 0.8148 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.003525, allocations: 4.75 kB / 0.8148 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.546e-05/0.00362, allocations: 97.27 kB / 0.8149 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.003656, allocations: 31.75 kB / 0.815 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.003668, allocations: 8.938 kB / 0.815 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.003915, allocations: 92.5 kB / 0.8151 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.003933, allocations: 37.39 kB / 0.8151 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.003935, allocations: 1.531 kB / 0.8151 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.501e-05/0.00403, allocations: 37.64 kB / 0.8151 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.004054, allocations: 55.34 kB / 0.8152 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.891e-05/0.004113, allocations: 162.9 kB / 0.8153 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.004121, allocations: 25.7 kB / 0.8154 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.004153, allocations: 130.9 kB / 0.8155 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.004177, allocations: 13.45 kB / 0.8155 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.004196, allocations: 15.38 kB / 0.8155 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.0043, allocations: 0.4884 MB / 0.816 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-06/0.004306, allocations: 0 / 0.816 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.004312, allocations: 0.5312 kB / 0.816 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/0.004332, allocations: 16.33 kB / 0.816 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004334, allocations: 0.5312 kB / 0.816 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.47e-05/0.004378, allocations: 42.39 kB / 0.8161 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.004389, allocations: 8 kB / 0.8161 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004393, allocations: 0.9375 kB / 0.8161 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.004402, allocations: 7.922 kB / 0.8161 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.204e-05/0.004434, allocations: 7.938 kB / 0.8161 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/0.004436, allocations: 0.5312 kB / 0.8161 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.004447, allocations: 1.375 kB / 0.8161 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.00445, allocations: 0 / 0.8161 GB, free: 12.73 MB / 0.7292 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 5.318e-05/0.004503, allocations: 156.6 kB / 0.8162 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-06/0.004507, allocations: 1.281 kB / 0.8162 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.00456, allocations: 45 kB / 0.8163 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.004561, allocations: 0 / 0.8163 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.004564, allocations: 8.5 kB / 0.8163 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004567, allocations: 0 / 0.8163 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.486e-05/0.004622, allocations: 97.97 kB / 0.8164 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004622, allocations: 0 / 0.8164 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.004632, allocations: 4.875 kB / 0.8164 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.004633, allocations: 3.984 kB / 0.8164 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-06/0.004637, allocations: 4.875 kB / 0.8164 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004638, allocations: 0 / 0.8164 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004639, allocations: 0 / 0.8164 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.544e-05/0.004684, allocations: 77.73 kB / 0.8165 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.00469, allocations: 192 / 0.8165 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.004699, allocations: 3.984 kB / 0.8165 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-06/0.004707, allocations: 8.609 kB / 0.8165 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.004717, allocations: 0.5625 kB / 0.8165 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.004718, allocations: 0 / 0.8165 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.004747, allocations: 129 kB / 0.8166 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004747, allocations: 3.938 kB / 0.8166 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001271/0.004874, allocations: 15.94 kB / 0.8166 GB, free: 12.12 MB / 0.7292 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.0001069/0.004981, allocations: 120 kB / 0.8167 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.084e-05/0.005032, allocations: 15.69 kB / 0.8167 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005033, allocations: 3.469 kB / 0.8168 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/0.005042, allocations: 15.67 kB / 0.8168 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.005172, allocations: 7.922 kB / 0.8168 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.005462, allocations: 118.3 kB / 0.8169 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.251e-05/0.005484, allocations: 51.36 kB / 0.8169 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.005504, allocations: 13.05 kB / 0.8169 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.005543, allocations: 71.92 kB / 0.817 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.005544, allocations: 0 / 0.817 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.002133/0.007676, allocations: 0.7437 MB / 0.8177 GB, free: 10.95 MB / 0.7292 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.745622874703258]