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.0008817/0.0008817, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009854/0.0009854, allocations: 181 kB / 24.09 MB, free: 420 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.8838/0.8838, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.679/1.679, allocations: 359 MB / 0.6055 GB, free: 10.88 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.393e-06/1.393e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.189e-05, allocations: 3.844 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001553/0.001575, allocations: 1.306 MB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000216/0.001791, allocations: 108.9 kB / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.001815, allocations: 0 / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.001831, allocations: 3.938 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.001898, allocations: 8.422 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.002064, allocations: 36.8 kB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.22e-05/0.002106, allocations: 20.8 kB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.002137, allocations: 4 kB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.002171, allocations: 9.141 kB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.002216, allocations: 3.984 kB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.002229, allocations: 4 kB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.002327, allocations: 44.52 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.002339, allocations: 4.672 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.111e-05/0.00235, allocations: 4 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.284e-05/0.002443, allocations: 52.7 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002445, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.32e-07/0.002446, allocations: 0.6562 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002449, allocations: 4 kB / 0.7891 GB, free: 10.59 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.0002605/0.00271, allocations: 350 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.002744, allocations: 12.03 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.002767, allocations: 5.234 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.295e-05/0.00283, allocations: 112.6 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.002839, allocations: 1.75 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.002848, allocations: 384 / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.331e-05/0.002901, allocations: 42.8 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.002908, allocations: 5.531 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-06/0.002913, allocations: 0 / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.002917, allocations: 0 / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.201e-05/0.002929, allocations: 4 kB / 0.7896 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.51e-05/0.003014, allocations: 92.77 kB / 0.7897 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.003049, allocations: 35.14 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.015e-05/0.003059, allocations: 7.688 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.0033, allocations: 86.95 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.003318, allocations: 37.33 kB / 0.7899 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.003319, allocations: 0.5312 kB / 0.7899 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 8.585e-05/0.003405, allocations: 38.89 kB / 0.7899 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.003429, allocations: 63.33 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.003484, allocations: 158.9 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.003492, allocations: 25.7 kB / 0.7902 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.003523, allocations: 126.9 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.003542, allocations: 4.984 kB / 0.7903 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.003564, allocations: 19.38 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.003666, allocations: 0.4923 MB / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.003673, allocations: 4.875 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-06/0.003678, allocations: 0 / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.831e-05/0.003697, allocations: 20.62 kB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.003699, allocations: 4 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.986e-05/0.003739, allocations: 39.91 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.00375, allocations: 4 kB / 0.7909 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.003755, allocations: 4 kB / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.003772, allocations: 0 / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.802e-05/0.00381, allocations: 3.938 kB / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.003813, allocations: 6.781 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.003823, allocations: 0 / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-06/0.003826, allocations: 0 / 0.7909 GB, free: 8.629 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.108e-05/0.003877, allocations: 156.6 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.003884, allocations: 12.08 kB / 0.791 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.003943, allocations: 48.97 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.003944, allocations: 0 / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.003948, allocations: 5.531 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.00395, allocations: 0 / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.482e-05/0.004005, allocations: 97.27 kB / 0.7912 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.004007, allocations: 3.984 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.004017, allocations: 4.594 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.004019, allocations: 0.5625 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-06/0.004022, allocations: 0 / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004023, allocations: 0.5312 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004023, allocations: 0.625 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.93e-05/0.004073, allocations: 77.64 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.004079, allocations: 3.984 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-06/0.004085, allocations: 0 / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.004092, allocations: 4 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-06/0.004101, allocations: 0.75 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.004102, allocations: 4 kB / 0.7913 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.004129, allocations: 125 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004129, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001195/0.004248, allocations: 19.92 kB / 0.7914 GB, free: 8.016 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.0001106/0.004359, allocations: 115.8 kB / 0.7915 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.908e-05/0.004408, allocations: 16.36 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00441, allocations: 0 / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.004418, allocations: 20.62 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.00455, allocations: 8 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.004853, allocations: 108.3 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.494e-05/0.004878, allocations: 59.34 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.004898, allocations: 1.188 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.004938, allocations: 78.08 kB / 0.7918 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.004939, allocations: 0 / 0.7918 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.002009/0.006948, allocations: 0.7429 MB / 0.7925 GB, free: 6.832 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.538951019756496]