Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.000943/0.000943, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009509/0.0009509, allocations: 174 kB / 23.28 MB, free: 1.219 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.8864/0.8864, allocations: 177.1 MB / 203.7 MB, free: 5.473 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.223/2.223, allocations: 438.1 MB / 0.682 GB, free: 14.14 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.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8897 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.564e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.001574/0.00159, allocations: 1.353 MB / 0.8911 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004323/0.002022, allocations: 279 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.002052, allocations: 0 / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.002069, allocations: 3.938 kB / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.002225, allocations: 27.83 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.002396, allocations: 59.73 kB / 0.8914 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.811e-05/0.002454, allocations: 39.8 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.002484, allocations: 3.984 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.002596, allocations: 43.89 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.002637, allocations: 11.94 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.00265, allocations: 4 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.002759, allocations: 59.92 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.002773, allocations: 3.938 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.002792, allocations: 11.98 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.002909, allocations: 75.78 kB / 0.8917 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002911, allocations: 0 / 0.8917 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.7e-07/0.002911, allocations: 3.938 kB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.002915, allocations: 4 kB / 0.8917 GB, free: 7.746 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002802/0.003195, allocations: 388.3 kB / 0.892 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.003229, allocations: 8.625 kB / 0.892 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.003495, allocations: 60.75 kB / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.003568, allocations: 116.5 kB / 0.8922 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.00358, allocations: 4.375 kB / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.00359, allocations: 8.359 kB / 0.8922 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.003701, allocations: 92.62 kB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.003706, allocations: 3.938 kB / 0.8923 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.003714, allocations: 0 / 0.8923 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003718, allocations: 4 kB / 0.8923 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.003755, allocations: 11.98 kB / 0.8923 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.003861, allocations: 113.2 kB / 0.8924 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.003976, allocations: 63.05 kB / 0.8925 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.003999, allocations: 19.67 kB / 0.8925 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.00401, allocations: 0 / 0.8925 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.00403, allocations: 41.39 kB / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 6.82e-07/0.004031, allocations: 0 / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001324/0.004163, allocations: 65.61 kB / 0.8926 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.004186, allocations: 55.34 kB / 0.8927 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.004248, allocations: 169.9 kB / 0.8928 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.004259, allocations: 25.7 kB / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.004292, allocations: 126.9 kB / 0.893 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.004318, allocations: 15.89 kB / 0.893 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.004349, allocations: 27.36 kB / 0.893 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.004453, allocations: 492.1 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.00447, allocations: 8 kB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.004486, allocations: 11.98 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.004523, allocations: 23.69 kB / 0.8935 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004525, allocations: 0 / 0.8935 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.66e-05/0.004591, allocations: 53.56 kB / 0.8936 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.004603, allocations: 7.984 kB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004607, allocations: 0 / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.004616, allocations: 0 / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.004683, allocations: 19.92 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.004686, allocations: 0 / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.004719, allocations: 8 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004725, allocations: 3.984 kB / 0.8936 GB, free: 5.535 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 (3): * Single equations (assignments): 3 * 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.113e-05/0.004786, allocations: 160.6 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.004796, allocations: 3.953 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.004821, allocations: 8.328 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004823, allocations: 0 / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.004825, allocations: 3.938 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.004829, allocations: 3.984 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.797e-05/0.004897, allocations: 109.2 kB / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004898, allocations: 0 / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.004935, allocations: 15.98 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004936, allocations: 0 / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.004941, allocations: 4 kB / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004942, allocations: 0 / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.004944, allocations: 3.938 kB / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.557e-05/0.005029, allocations: 96.31 kB / 0.894 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.005062, allocations: 7.984 kB / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.005071, allocations: 0 / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.005109, allocations: 8 kB / 0.894 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.005122, allocations: 7.984 kB / 0.894 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.005126, allocations: 4 kB / 0.894 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.005163, allocations: 143.1 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005163, allocations: 0 / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001159/0.005279, allocations: 8 kB / 0.8942 GB, free: 4.891 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 (3): * Single equations (assignments): 3 * 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.167e-05/0.00534, allocations: 91.25 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.461e-05/0.005415, allocations: 35.61 kB / 0.8943 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.005417, allocations: 4 kB / 0.8943 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.005443, allocations: 19.67 kB / 0.8943 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.005562, allocations: 19.88 kB / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.005952, allocations: 174.2 kB / 0.8945 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.494e-05/0.005977, allocations: 63.28 kB / 0.8946 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.006019, allocations: 8 kB / 0.8946 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.006088, allocations: 78.19 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of SimCode: time 3.6e-07/0.006089, allocations: 0 / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.001931/0.00802, allocations: 0.8369 MB / 0.8955 GB, free: 3.523 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.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.94135683728382]