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.001324/0.001324, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001311/0.001311, allocations: 165 kB / 23.02 MB, free: 1.555 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.9122/0.9122, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.015/2.015, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.363e-06/1.363e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.861e-05, allocations: 3.297 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001488/0.001506, allocations: 1.347 MB / 0.8795 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003871/0.001894, allocations: 276.5 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.00192, allocations: 0 / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.001942, allocations: 0 / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.029e-05/0.002032, allocations: 18.55 kB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.002272, allocations: 67.66 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.002334, allocations: 35.86 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.00237, allocations: 0 / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.00248, allocations: 46.25 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.002518, allocations: 4 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.002532, allocations: 5.344 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.00264, allocations: 63.92 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.002654, allocations: 3.938 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.002671, allocations: 11.98 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.002811, allocations: 79.78 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002813, allocations: 3.938 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002814, allocations: 0 / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002818, allocations: 0 / 0.8801 GB, free: 4.383 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.0003246/0.003142, allocations: 384.3 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.003179, allocations: 8.031 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.003488, allocations: 56.8 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.003567, allocations: 120.5 kB / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.00358, allocations: 384 / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.003594, allocations: 4.375 kB / 0.8806 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.003731, allocations: 96.59 kB / 0.8807 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.003742, allocations: 3.938 kB / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.003753, allocations: 4 kB / 0.8807 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.003761, allocations: 0 / 0.8807 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.003815, allocations: 15.94 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.004121, allocations: 263.8 kB / 0.881 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.75e-05/0.004178, allocations: 43.06 kB / 0.881 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.004206, allocations: 15.69 kB / 0.881 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.004221, allocations: 0 / 0.881 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.004243, allocations: 41.38 kB / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.004243, allocations: 0 / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.004386, allocations: 53.59 kB / 0.8811 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.00441, allocations: 51.41 kB / 0.8812 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.004483, allocations: 169.9 kB / 0.8813 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.004492, allocations: 25.7 kB / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.004529, allocations: 143 kB / 0.8815 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.004544, allocations: 3.953 kB / 0.8815 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.004571, allocations: 19.38 kB / 0.8815 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.004671, allocations: 492.1 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.004688, allocations: 8 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.004702, allocations: 7.984 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.004734, allocations: 19.69 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.004735, allocations: 3.938 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.754e-05/0.004793, allocations: 41.64 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.004803, allocations: 8.094 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.004808, allocations: 7.938 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.004824, allocations: 4 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.004893, allocations: 7.984 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.004898, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.004921, allocations: 4 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004926, allocations: 0 / 0.8821 GB, free: 2.086 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.17e-05/0.004987, allocations: 160.6 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.005005, allocations: 11.89 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.005031, allocations: 3.625 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.005032, allocations: 4 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.005035, allocations: 0 / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005038, allocations: 4 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.632e-05/0.005134, allocations: 116.6 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005135, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.005162, allocations: 11.94 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.005165, allocations: 7.938 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.005172, allocations: 3.984 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005173, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-07/0.005173, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.573e-05/0.005269, allocations: 192 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.005293, allocations: 11.88 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-06/0.005303, allocations: 4 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.005339, allocations: 0 / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.005356, allocations: 7.984 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.005358, allocations: 0 / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.005395, allocations: 127.2 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.005395, allocations: 0 / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001431/0.005538, allocations: 11.94 kB / 0.8827 GB, free: 1.359 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 6.336e-05/0.005601, allocations: 99.27 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.862e-05/0.00568, allocations: 23.62 kB / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.005682, allocations: 0 / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.005699, allocations: 19.69 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.005864, allocations: 8.672 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.006312, allocations: 130.4 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.006343, allocations: 67.28 kB / 0.8831 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.006372, allocations: 0 / 0.8831 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.006403, allocations: 16.5 kB / 0.8831 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.006403, allocations: 0 / 0.8831 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of Templates: time 0.00187/0.008274, allocations: 466.1 kB / 0.8835 GB, free: 500 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.1590945003554225]