Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009644/0.0009644, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009779/0.0009779, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9764/0.9764, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.76/1.76, allocations: 359 MB / 0.6052 GB, free: 11.03 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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.097e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001836/0.001867, allocations: 1.308 MB / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002525/0.00212, allocations: 116.5 kB / 0.7885 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.002144, allocations: 0 / 0.7885 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.002164, allocations: 0.5625 kB / 0.7885 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.002236, allocations: 8.766 kB / 0.7885 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.002445, allocations: 37.14 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.002499, allocations: 19.92 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.002535, allocations: 0 / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.00257, allocations: 10.92 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.002621, allocations: 11.92 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.002635, allocations: 0 / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.002735, allocations: 43.95 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.002749, allocations: 3.984 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.002766, allocations: 4 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.002879, allocations: 47.88 kB / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002881, allocations: 1.281 kB / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002882, allocations: 0 / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.002887, allocations: 0 / 0.7887 GB, free: 10.91 MB / 0.7448 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.000329/0.003216, allocations: 352.9 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.003253, allocations: 9.062 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.003289, allocations: 5.234 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.355e-05/0.003382, allocations: 124.5 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003393, allocations: 1 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.003403, allocations: 384 / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.626e-05/0.003469, allocations: 39.61 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.003478, allocations: 3.938 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.003487, allocations: 1.375 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.003496, allocations: 4 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.003517, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.003641, allocations: 118.5 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.00369, allocations: 35.02 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.003709, allocations: 11.75 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/0.004026, allocations: 89.67 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.004048, allocations: 33.39 kB / 0.7894 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.004049, allocations: 0 / 0.7894 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.004195, allocations: 45.62 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.004224, allocations: 59.88 kB / 0.7895 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.004299, allocations: 154.7 kB / 0.7897 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.004309, allocations: 25.7 kB / 0.7897 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.004346, allocations: 131.4 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.004372, allocations: 9.531 kB / 0.7899 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.004397, allocations: 19.38 kB / 0.7899 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.004508, allocations: 492.1 kB / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.004518, allocations: 0 / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.004528, allocations: 8.625 kB / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.004553, allocations: 12.38 kB / 0.7904 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004555, allocations: 0 / 0.7904 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.04e-05/0.004606, allocations: 38.38 kB / 0.7904 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.004619, allocations: 13.09 kB / 0.7904 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.004623, allocations: 0 / 0.7904 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.004637, allocations: 3.938 kB / 0.7904 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.004688, allocations: 8.594 kB / 0.7904 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.004692, allocations: 0 / 0.7904 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.004704, allocations: 0.75 kB / 0.7904 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.004708, allocations: 0 / 0.7904 GB, free: 8.91 MB / 0.7448 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.728e-05/0.004765, allocations: 157.4 kB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.004772, allocations: 3.953 kB / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.004848, allocations: 46.81 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.004851, allocations: 3.938 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.004854, allocations: 3.938 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.004856, allocations: 0 / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.38e-05/0.00492, allocations: 113.4 kB / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004921, allocations: 0 / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.004935, allocations: 14.28 kB / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.004937, allocations: 192 / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.004942, allocations: 0 / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.004943, allocations: 0 / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.004945, allocations: 3.938 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.5e-05/0.005, allocations: 76.42 kB / 0.7908 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.005006, allocations: 2 kB / 0.7908 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.005017, allocations: 8 kB / 0.7908 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.005024, allocations: 0 / 0.7908 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.005037, allocations: 3.938 kB / 0.7908 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.00504, allocations: 4 kB / 0.7908 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.005076, allocations: 127.2 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005076, allocations: 0.5 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001343/0.00521, allocations: 17.78 kB / 0.791 GB, free: 8.27 MB / 0.7448 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.000138/0.005348, allocations: 111.2 kB / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.959e-05/0.005418, allocations: 24.12 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005419, allocations: 0 / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.005428, allocations: 12.53 kB / 0.7911 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.005585, allocations: 9.078 kB / 0.7911 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.006001, allocations: 114.8 kB / 0.7912 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.006038, allocations: 59.95 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.00606, allocations: 4.375 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.006081, allocations: 12.5 kB / 0.7913 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.006081, allocations: 0 / 0.7913 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of Templates: time 0.002371/0.008452, allocations: 0.6623 MB / 0.792 GB, free: 7.227 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.874026618897915]