Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009461/0.0009461, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009261/0.0009261, allocations: 169 kB / 23.27 MB, free: 1.223 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.8969/0.8969, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.233/2.233, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.766e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001539/0.001557, allocations: 1.325 MB / 0.891 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.001758, allocations: 91.69 kB / 0.8911 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.001784, allocations: 0 / 0.8911 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.0018, allocations: 0 / 0.8911 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.784e-05/0.001868, allocations: 11.92 kB / 0.8911 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.002027, allocations: 27.84 kB / 0.8912 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.00207, allocations: 19.94 kB / 0.8912 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.002102, allocations: 7.969 kB / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.002135, allocations: 8 kB / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.00218, allocations: 7.984 kB / 0.8912 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.002191, allocations: 0 / 0.8912 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.002283, allocations: 35.95 kB / 0.8912 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.002297, allocations: 7.938 kB / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.225e-05/0.002309, allocations: 4 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.82e-05/0.002397, allocations: 31.89 kB / 0.8913 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002399, allocations: 0 / 0.8913 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.02e-07/0.0024, allocations: 4 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.002403, allocations: 0 / 0.8913 GB, free: 8.164 MB / 0.8542 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.0002635/0.002666, allocations: 364.6 kB / 0.8916 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.0027, allocations: 8.625 kB / 0.8916 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.00289, allocations: 28.89 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.132e-05/0.002962, allocations: 120.4 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.002973, allocations: 384 / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.002982, allocations: 4.375 kB / 0.8918 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.003069, allocations: 54.94 kB / 0.8918 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003076, allocations: 3.938 kB / 0.8918 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.003083, allocations: 0 / 0.8918 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.003086, allocations: 7.938 kB / 0.8918 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.003112, allocations: 8 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.605e-05/0.003208, allocations: 101.2 kB / 0.8919 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.003255, allocations: 35.03 kB / 0.892 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.003273, allocations: 11.75 kB / 0.892 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.003286, allocations: 7.984 kB / 0.892 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.003307, allocations: 37.39 kB / 0.892 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.003308, allocations: 0 / 0.892 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001092/0.003417, allocations: 37.8 kB / 0.8921 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.00344, allocations: 63.38 kB / 0.8921 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.003502, allocations: 161.9 kB / 0.8923 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.003512, allocations: 29.64 kB / 0.8923 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.003543, allocations: 126.9 kB / 0.8924 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.003564, allocations: 3.953 kB / 0.8924 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.003592, allocations: 23.38 kB / 0.8925 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.0037, allocations: 0.4884 MB / 0.8929 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.003714, allocations: 4 kB / 0.8929 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.003726, allocations: 4 kB / 0.8929 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.003757, allocations: 19.75 kB / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.003758, allocations: 0 / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.252e-05/0.003811, allocations: 41.69 kB / 0.893 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.003821, allocations: 8 kB / 0.893 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.003825, allocations: 0 / 0.893 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.003835, allocations: 0 / 0.893 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.003896, allocations: 11.88 kB / 0.893 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.003899, allocations: 0 / 0.893 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.003925, allocations: 7.984 kB / 0.893 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.003928, allocations: 0 / 0.893 GB, free: 6.168 MB / 0.8542 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.51e-05/0.003983, allocations: 160.6 kB / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.00399, allocations: 0 / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.004012, allocations: 3.312 kB / 0.8932 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.004013, allocations: 0 / 0.8932 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.004016, allocations: 8.125 kB / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004019, allocations: 0 / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.587e-05/0.004085, allocations: 109.2 kB / 0.8933 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.004087, allocations: 4 kB / 0.8933 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.004113, allocations: 4 kB / 0.8933 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004115, allocations: 0 / 0.8933 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.00412, allocations: 7.984 kB / 0.8933 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.00412, allocations: 0 / 0.8933 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004121, allocations: 4 kB / 0.8933 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.412e-05/0.004195, allocations: 84.28 kB / 0.8934 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.004201, allocations: 3.984 kB / 0.8934 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-06/0.004209, allocations: 0 / 0.8934 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.004231, allocations: 4 kB / 0.8934 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.004242, allocations: 0 / 0.8934 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.004245, allocations: 4 kB / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.004276, allocations: 127.1 kB / 0.8935 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.004276, allocations: 4.031 kB / 0.8935 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001088/0.004385, allocations: 8 kB / 0.8935 GB, free: 5.582 MB / 0.8542 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 6.452e-05/0.004449, allocations: 91.25 kB / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.006e-05/0.004519, allocations: 23.67 kB / 0.8937 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.004522, allocations: 0 / 0.8937 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.00454, allocations: 23.61 kB / 0.8937 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.004664, allocations: 4 kB / 0.8937 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.005015, allocations: 134.6 kB / 0.8938 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.61e-05/0.005041, allocations: 51.36 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.005078, allocations: 12 kB / 0.8939 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.005137, allocations: 78.19 kB / 0.8939 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.005137, allocations: 0 / 0.8939 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of Templates: time 0.001902/0.007039, allocations: 0.8186 MB / 0.8947 GB, free: 4.293 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.850342831108719]