Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001345/0.001345, allocations: 81.95 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.00148/0.00148, allocations: 181 kB / 24.08 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.8721/0.8721, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.697/1.697, allocations: 359 MB / 0.6055 GB, free: 10.9 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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.38e-05, allocations: 2.812 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002667/0.00269, allocations: 1.334 MB / 0.7889 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.003218, allocations: 280.9 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.003253, allocations: 7.875 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.003272, allocations: 1.625 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.003371, allocations: 7.922 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.003677, allocations: 85.23 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.003755, allocations: 35.84 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.003793, allocations: 5.406 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.003948, allocations: 33.09 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.004, allocations: 16.98 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.004015, allocations: 0 / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.004182, allocations: 77.16 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.004201, allocations: 7.984 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.004218, allocations: 4 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.004394, allocations: 92.41 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004397, allocations: 0 / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004398, allocations: 5.656 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.004401, allocations: 0 / 0.7895 GB, free: 10.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003379/0.004739, allocations: 376.4 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.004787, allocations: 8.031 kB / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.004821, allocations: 10.08 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.004906, allocations: 112.6 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004917, allocations: 4.312 kB / 0.79 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.004926, allocations: 1.969 kB / 0.79 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.286e-05/0.005018, allocations: 63.94 kB / 0.79 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.005027, allocations: 3.938 kB / 0.79 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005037, allocations: 12 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.005043, allocations: 0 / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.005066, allocations: 9.453 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.005183, allocations: 97.22 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.744e-05/0.005261, allocations: 43.03 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.005279, allocations: 14.53 kB / 0.7902 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004923/0.005772, allocations: 152.9 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.005798, allocations: 37.39 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.005799, allocations: 0 / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001285/0.005928, allocations: 46.84 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.005955, allocations: 55.34 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.006033, allocations: 169.9 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006045, allocations: 26.98 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.006081, allocations: 134.8 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.006107, allocations: 15.89 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.006141, allocations: 27.31 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.006271, allocations: 497.9 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.006283, allocations: 4 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/0.006292, allocations: 0 / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.006325, allocations: 23.67 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006326, allocations: 1.938 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.459e-05/0.006391, allocations: 33.7 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006403, allocations: 8 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006408, allocations: 0 / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.006421, allocations: 0 / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.006468, allocations: 15.86 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006471, allocations: 0.8125 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.006487, allocations: 4 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.006491, allocations: 3.438 kB / 0.7914 GB, free: 8.078 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 (3): * Single equations (assignments): 3 * 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.838e-05/0.006559, allocations: 156.6 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.006572, allocations: 7.953 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.006686, allocations: 49.69 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.006691, allocations: 4.359 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.006694, allocations: 3.938 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.006696, allocations: 4.625 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.642e-05/0.006772, allocations: 93.77 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.006775, allocations: 3.984 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.006799, allocations: 5.75 kB / 0.7917 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006801, allocations: 3.938 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.006806, allocations: 4 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.006809, allocations: 3.984 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00681, allocations: 1.875 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.02e-05/0.00689, allocations: 84.36 kB / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.006921, allocations: 7.953 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.006932, allocations: 4 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.006963, allocations: 8 kB / 0.7918 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.006975, allocations: 4.703 kB / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.00698, allocations: 0 / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.007025, allocations: 135.9 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007025, allocations: 0 / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002358/0.007261, allocations: 31.86 kB / 0.792 GB, free: 7.41 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 (3): * Single equations (assignments): 3 * 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.0001662/0.007427, allocations: 132 kB / 0.7921 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.527e-05/0.007492, allocations: 24.97 kB / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007494, allocations: 0 / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.007509, allocations: 15.67 kB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.007692, allocations: 6.281 kB / 0.7922 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.008082, allocations: 131.1 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.008118, allocations: 59.34 kB / 0.7924 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.008157, allocations: 6.75 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.008212, allocations: 74.2 kB / 0.7924 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.008212, allocations: 0 / 0.7924 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.00299/0.0112, allocations: 0.9262 MB / 0.7933 GB, free: 6.008 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.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.592924514319748]