Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001023/0.001023, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001075/0.001075, allocations: 173 kB / 24.06 MB, free: 452 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.9554/0.9554, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.082/2.082, allocations: 429.5 MB / 0.6743 GB, free: 3.859 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.571e-05, allocations: 4.422 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001685/0.001711, allocations: 1.35 MB / 0.8807 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003966/0.002108, allocations: 267 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.002137, allocations: 4 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.872e-05/0.002156, allocations: 4.875 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.002243, allocations: 9 kB / 0.881 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.002464, allocations: 64.8 kB / 0.881 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.00253, allocations: 43.78 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.002569, allocations: 5.094 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.002683, allocations: 40.42 kB / 0.8811 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.002722, allocations: 11.88 kB / 0.8811 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.002733, allocations: 0 / 0.8811 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.002841, allocations: 59.92 kB / 0.8812 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.002855, allocations: 7.984 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.002873, allocations: 11.94 kB / 0.8812 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.002999, allocations: 75.78 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003003, allocations: 3.984 kB / 0.8813 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003003, allocations: 0.625 kB / 0.8813 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003007, allocations: 0 / 0.8813 GB, free: 4.051 MB / 0.8386 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.0002919/0.003299, allocations: 377 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.00333, allocations: 8.844 kB / 0.8817 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.003609, allocations: 59.17 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.003701, allocations: 120.5 kB / 0.8818 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.003717, allocations: 4.375 kB / 0.8818 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.003728, allocations: 4.312 kB / 0.8818 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.003872, allocations: 93.53 kB / 0.8819 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.003882, allocations: 3.938 kB / 0.8819 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.003892, allocations: 0.75 kB / 0.8819 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003898, allocations: 0 / 0.8819 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.266e-05/0.003941, allocations: 19.98 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.004192, allocations: 244.5 kB / 0.8822 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.004244, allocations: 35 kB / 0.8822 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.00426, allocations: 11.75 kB / 0.8822 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.00427, allocations: 0 / 0.8822 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.004293, allocations: 45.31 kB / 0.8823 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004294, allocations: 0 / 0.8823 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.004414, allocations: 45.66 kB / 0.8823 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.00444, allocations: 55.41 kB / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.004504, allocations: 170 kB / 0.8825 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.004513, allocations: 25.7 kB / 0.8826 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.004553, allocations: 130.8 kB / 0.8827 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.00457, allocations: 11.92 kB / 0.8827 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.004598, allocations: 19.38 kB / 0.8827 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.004705, allocations: 492.1 kB / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.00472, allocations: 4 kB / 0.8832 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.004731, allocations: 4 kB / 0.8832 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.004761, allocations: 23.67 kB / 0.8832 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.004763, allocations: 4.062 kB / 0.8832 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.81e-05/0.004822, allocations: 45.64 kB / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.004832, allocations: 4 kB / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.004835, allocations: 0 / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.004843, allocations: 0 / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.004901, allocations: 11.92 kB / 0.8833 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004903, allocations: 4 kB / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.004926, allocations: 0 / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.00493, allocations: 4 kB / 0.8833 GB, free: 1.812 MB / 0.8386 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 6.07e-05/0.004991, allocations: 160.6 kB / 0.8834 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.005008, allocations: 15.86 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.005031, allocations: 7.625 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005033, allocations: 0 / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.005034, allocations: 0 / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005037, allocations: 0 / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.936e-05/0.005126, allocations: 101.2 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.005128, allocations: 4 kB / 0.8836 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.005155, allocations: 7.984 kB / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.005155, allocations: 0 / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005161, allocations: 3.984 kB / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.005162, allocations: 7.938 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005163, allocations: 0 / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.747e-05/0.005261, allocations: 191.9 kB / 0.8838 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.005286, allocations: 11.95 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.005296, allocations: 3.984 kB / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.005333, allocations: 3.938 kB / 0.8838 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.005344, allocations: 4 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005347, allocations: 0 / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.005381, allocations: 127.2 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005381, allocations: 0 / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001355/0.005516, allocations: 15.97 kB / 0.8839 GB, free: 1.105 MB / 0.8386 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 7.93e-05/0.005596, allocations: 91.25 kB / 0.884 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.74e-05/0.005663, allocations: 23.67 kB / 0.884 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.005665, allocations: 0 / 0.884 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.005682, allocations: 19.61 kB / 0.884 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.005854, allocations: 8 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.006195, allocations: 134.5 kB / 0.8842 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.991e-05/0.006225, allocations: 51.36 kB / 0.8842 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.006258, allocations: 8 kB / 0.8842 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.006307, allocations: 70.19 kB / 0.8843 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.006308, allocations: 4 kB / 0.8843 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of Templates: time 0.001868/0.008176, allocations: 0.4952 MB / 0.8848 GB, free: 152 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.174262356944382]