Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.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.001378/0.001378, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00148/0.00148, allocations: 181 kB / 23.36 MB, free: 1.133 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.9397/0.9397, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.399/2.399, allocations: 438.8 MB / 0.6827 GB, free: 13.52 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.124e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1347/0.1347, allocations: 149 MB / 0.9841 GB, free: 8.52 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.1389, allocations: 2.496 MB / 0.9866 GB, free: 6.02 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.1395, allocations: 31.81 kB / 0.9866 GB, free: 5.988 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.14, allocations: 218.3 kB / 0.9868 GB, free: 5.773 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.1415, allocations: 0.9205 MB / 0.9877 GB, free: 4.848 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1425, allocations: 0.6196 MB / 0.9883 GB, free: 4.227 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.1441, allocations: 1.642 MB / 0.9899 GB, free: 2.578 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009478/0.145, allocations: 0.8862 MB / 0.9908 GB, free: 1.672 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.1465, allocations: 1.115 MB / 0.9919 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.1474, allocations: 0.7715 MB / 0.9926 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.1475, allocations: 103.9 kB / 0.9927 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009609/0.1485, allocations: 451.1 kB / 0.9932 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.1488, allocations: 386.9 kB / 0.9935 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.1491, allocations: 399.1 kB / 0.9939 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1501, allocations: 1.16 MB / 0.995 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1501, allocations: 4 kB / 0.9951 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.605e-06/0.1501, allocations: 4 kB / 0.9951 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.1501, allocations: 0 / 0.9951 GB, free: 13.3 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00132/0.1515, allocations: 1.078 MB / 0.9961 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1515, allocations: 12.03 kB / 0.9961 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.153, allocations: 0.4997 MB / 0.9966 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.1536, allocations: 472.8 kB / 0.9971 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.1537, allocations: 37 kB / 0.9971 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.1537, allocations: 55.94 kB / 0.9971 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008571/0.1546, allocations: 0.8405 MB / 0.998 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1546, allocations: 7.922 kB / 0.998 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.1547, allocations: 24 kB / 0.998 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.1547, allocations: 24 kB / 0.998 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.1552, allocations: 389.3 kB / 0.9984 GB, free: 9.73 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.1582, allocations: 2.951 MB / 1.001 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.1586, allocations: 347.1 kB / 1.002 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.1589, allocations: 217.1 kB / 1.002 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.1591, allocations: 60.42 kB / 1.002 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1591, allocations: 43 kB / 1.002 GB, free: 6 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001184/0.1603, allocations: 0.6553 MB / 1.003 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=50): time 3.216e-06/0.1603, allocations: 0 / 1.003 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=50): time 0.006729/0.167, allocations: 2.3 MB / 1.005 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.167, allocations: 55.91 kB / 1.005 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.1674, allocations: 0.5583 MB / 1.005 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.1675, allocations: 37.7 kB / 1.005 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1676, allocations: 297.9 kB / 1.006 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1677, allocations: 194.3 kB / 1.006 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.1679, allocations: 170.4 kB / 1.006 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1681, allocations: 390.5 kB / 1.006 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.1683, allocations: 164.7 kB / 1.007 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.1689, allocations: 446.8 kB / 1.007 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.1695, allocations: 0.6555 MB / 1.008 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1695, allocations: 4 kB / 1.008 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004365/0.1739, allocations: 1.656 MB / 1.009 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1739, allocations: 8 kB / 1.009 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.1739, allocations: 8 kB / 1.009 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005419/0.1793, allocations: 2.096 MB / 1.011 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.1799, allocations: 175.7 kB / 1.012 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.185, allocations: 4.102 MB / 1.016 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.1857, allocations: 51.95 kB / 1.016 GB, free: 7.516 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.842e-05/0.1857, allocations: 47.91 kB / 1.016 GB, free: 7.469 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.186, allocations: 156.4 kB / 1.016 GB, free: 7.305 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.1861, allocations: 63.88 kB / 1.016 GB, free: 7.242 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.1883, allocations: 1.212 MB / 1.017 GB, free: 6.016 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1883, allocations: 8 kB / 1.017 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.1883, allocations: 4 kB / 1.017 GB, free: 6.004 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1883, allocations: 0 / 1.017 GB, free: 6.004 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.191, allocations: 1.626 MB / 1.019 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.191, allocations: 0 / 1.019 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.1914, allocations: 127.8 kB / 1.019 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.1939, allocations: 1.394 MB / 1.02 GB, free: 2.789 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.1939, allocations: 15.98 kB / 1.02 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.197, allocations: 3.233 MB / 1.023 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.197, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.1994, allocations: 1.367 MB / 1.025 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.1996, allocations: 103.4 kB / 1.025 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.1997, allocations: 15.94 kB / 1.025 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.2001, allocations: 47.94 kB / 1.025 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.2002, allocations: 52.41 kB / 1.025 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.2002, allocations: 19.98 kB / 1.025 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000214/0.2005, allocations: 260.5 kB / 1.025 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.2005, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007423/0.2012, allocations: 319.7 kB / 1.025 GB, free: 13.14 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002356/0.2014, allocations: 124.3 kB / 1.025 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.2031, allocations: 1.065 MB / 1.027 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.2032, allocations: 8 kB / 1.027 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.204, allocations: 0.7063 MB / 1.027 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.2049, allocations: 379.5 kB / 1.028 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.2071, allocations: 1.426 MB / 1.029 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2073, allocations: 192.9 kB / 1.029 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000437/0.2077, allocations: 122.2 kB / 1.029 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/0.2083, allocations: 293.1 kB / 1.03 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of SimCode: time 1.834e-06/0.2083, allocations: 3.938 kB / 1.03 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of Templates: time 0.0255/0.2338, allocations: 24.35 MB / 1.053 GB, free: 0.7305 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_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: 6.205478302203119]