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.0007847/0.0007847, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0008814/0.0008814, allocations: 173 kB / 23.5 MB, free: 1.055 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.9312/0.9312, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.009/2.009, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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.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.824e-06/1.824e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.053e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002288/0.002309, allocations: 1.311 MB / 0.8795 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002796/0.002588, allocations: 103.5 kB / 0.8796 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.002622, allocations: 0 / 0.8796 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.002643, allocations: 5.031 kB / 0.8796 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.002709, allocations: 1.531 kB / 0.8796 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.002916, allocations: 25.12 kB / 0.8796 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.002975, allocations: 22.27 kB / 0.8796 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.003019, allocations: 3.984 kB / 0.8796 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.003055, allocations: 7.938 kB / 0.8796 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.003104, allocations: 7.984 kB / 0.8796 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.003117, allocations: 0 / 0.8796 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.003236, allocations: 39.95 kB / 0.8797 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.003248, allocations: 2.188 kB / 0.8797 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.003265, allocations: 4 kB / 0.8797 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003377, allocations: 43.81 kB / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003379, allocations: 0 / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003379, allocations: 0 / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.003383, allocations: 0 / 0.8797 GB, free: 5.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002856/0.003668, allocations: 357.3 kB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.003716, allocations: 13.69 kB / 0.8801 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.004024, allocations: 24.89 kB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.004133, allocations: 108.6 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.004148, allocations: 4.375 kB / 0.8802 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.004162, allocations: 4.875 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.004306, allocations: 60.16 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004314, allocations: 3.938 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.004326, allocations: 1.594 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.004335, allocations: 4 kB / 0.8803 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.004386, allocations: 7.984 kB / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.004535, allocations: 116.7 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.004619, allocations: 43.05 kB / 0.8804 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.004654, allocations: 19.73 kB / 0.8804 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.004666, allocations: 0 / 0.8804 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.004691, allocations: 37.33 kB / 0.8805 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.004691, allocations: 0 / 0.8805 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001957/0.004887, allocations: 57.58 kB / 0.8805 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.004922, allocations: 51.41 kB / 0.8806 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.005015, allocations: 157.9 kB / 0.8807 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.005029, allocations: 25.7 kB / 0.8808 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.005067, allocations: 130.9 kB / 0.8809 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.005095, allocations: 16 kB / 0.8809 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.005134, allocations: 23.38 kB / 0.8809 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.005265, allocations: 492.1 kB / 0.8814 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.005295, allocations: 4 kB / 0.8814 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.00532, allocations: 7.938 kB / 0.8814 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.005377, allocations: 23.67 kB / 0.8814 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.005379, allocations: 0 / 0.8814 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.00548, allocations: 45.64 kB / 0.8815 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.005494, allocations: 4 kB / 0.8815 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.0055, allocations: 8.094 kB / 0.8815 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.005515, allocations: 7.938 kB / 0.8815 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.005621, allocations: 7.984 kB / 0.8815 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.005627, allocations: 0 / 0.8815 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.005674, allocations: 4 kB / 0.8815 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.00568, allocations: 0 / 0.8815 GB, free: 3.055 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 7.36e-05/0.005754, allocations: 160.5 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.005771, allocations: 4 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.005807, allocations: 7.312 kB / 0.8817 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.00581, allocations: 3.938 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005814, allocations: 4 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.005817, allocations: 0 / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.169e-05/0.005908, allocations: 112.6 kB / 0.8818 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005909, allocations: 0 / 0.8818 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.005982, allocations: 15.98 kB / 0.8818 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.005984, allocations: 0 / 0.8818 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.005993, allocations: 0 / 0.8818 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.005994, allocations: 0 / 0.8818 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.005997, allocations: 3.938 kB / 0.8818 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.006122, allocations: 80.44 kB / 0.8819 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.006132, allocations: 7.984 kB / 0.8819 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.006146, allocations: 0 / 0.8819 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.006202, allocations: 11.92 kB / 0.8819 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.006224, allocations: 3.938 kB / 0.8819 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.006228, allocations: 0 / 0.8819 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.006289, allocations: 123.2 kB / 0.882 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.006289, allocations: 0 / 0.882 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002071/0.006496, allocations: 8 kB / 0.882 GB, free: 2.449 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 8.359e-05/0.00658, allocations: 95.23 kB / 0.8821 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.00669, allocations: 27.69 kB / 0.8821 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006691, allocations: 0 / 0.8821 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.006723, allocations: 15.69 kB / 0.8822 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.006934, allocations: 11.98 kB / 0.8822 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.007526, allocations: 138.4 kB / 0.8823 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.007563, allocations: 55.36 kB / 0.8824 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.888e-05/0.007622, allocations: 4 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.007663, allocations: 8.5 kB / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/0.007664, allocations: 8 kB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of Templates: time 0.002886/0.01055, allocations: 0.7725 MB / 0.8831 GB, free: 1.277 MB / 0.8386 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.976583682000637]