Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.001383/0.001383, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001662/0.001662, allocations: 170.3 kB / 24.86 MB, free: 9.277 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.9695/0.9695, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.824/1.824, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.[0-9,]+.|m_flow_testdata.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.[0-9,]+.|m_flow_testdata.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.39e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1164/0.1164, allocations: 150.8 MB / 0.9601 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.009568/0.1259, allocations: 9.272 MB / 0.9691 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.1265, allocations: 43.69 kB / 0.9692 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009208/0.1275, allocations: 0.5905 MB / 0.9697 GB, free: 196 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.1301, allocations: 2.013 MB / 0.9717 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1313, allocations: 0.9392 MB / 0.9726 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.1335, allocations: 3.797 MB / 0.9763 GB, free: 9.414 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009729/0.1345, allocations: 1.18 MB / 0.9775 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.1377, allocations: 3.25 MB / 0.9806 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009385/0.1386, allocations: 1.079 MB / 0.9817 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.1387, allocations: 100 kB / 0.9818 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.1395, allocations: 0.616 MB / 0.9824 GB, free: 3.168 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.1399, allocations: 0.8333 MB / 0.9832 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004856/0.1404, allocations: 0.6661 MB / 0.9839 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.1423, allocations: 2.02 MB / 0.9858 GB, free: 15.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1423, allocations: 0 / 0.9858 GB, free: 15.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1423, allocations: 0 / 0.9858 GB, free: 15.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.1423, allocations: 0 / 0.9858 GB, free: 15.63 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.002142/0.1445, allocations: 2.833 MB / 0.9886 GB, free: 12.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1445, allocations: 8.031 kB / 0.9886 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.145, allocations: 469.8 kB / 0.9891 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.147, allocations: 1.871 MB / 0.9909 GB, free: 10.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.147, allocations: 98.52 kB / 0.991 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1471, allocations: 128 kB / 0.9911 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.1482, allocations: 1.161 MB / 0.9922 GB, free: 8.734 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.1483, allocations: 7.938 kB / 0.9922 GB, free: 8.727 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.1483, allocations: 48 kB / 0.9923 GB, free: 8.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.1484, allocations: 85.91 kB / 0.9924 GB, free: 8.598 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.1488, allocations: 398.2 kB / 0.9927 GB, free: 8.207 MB / 0.948 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.003546/0.1523, allocations: 7.3 MB / 0.9999 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.1525, allocations: 208.3 kB / 1 GB, free: 464 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.1526, allocations: 79.62 kB / 1 GB, free: 380 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.1528, allocations: 95.8 kB / 1 GB, free: 284 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1528, allocations: 37.75 kB / 1 GB, free: 236 kB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 1.483e-06/0.1528, allocations: 0 / 1 GB, free: 236 kB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.0004373/0.1533, allocations: 465.4 kB / 1.001 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.1533, allocations: 59.36 kB / 1.001 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.1544, allocations: 1.851 MB / 1.003 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1544, allocations: 37.7 kB / 1.003 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006428/0.1551, allocations: 1.338 MB / 1.004 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.1552, allocations: 182.5 kB / 1.004 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.1553, allocations: 192.1 kB / 1.004 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1554, allocations: 0.5198 MB / 1.005 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.1555, allocations: 77.86 kB / 1.005 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.1562, allocations: 0.7185 MB / 1.006 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.1567, allocations: 0.8314 MB / 1.006 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1568, allocations: 4 kB / 1.006 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0006962/0.1574, allocations: 0.8085 MB / 1.007 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1575, allocations: 15.98 kB / 1.007 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.1575, allocations: 12 kB / 1.007 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1575, allocations: 20 kB / 1.007 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1578, allocations: 203.7 kB / 1.007 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.1578, allocations: 31.86 kB / 1.007 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.1581, allocations: 99.25 kB / 1.008 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.1582, allocations: 52.34 kB / 1.008 GB, free: 8.098 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (111): * Single equations (assignments): 111 * 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 0.0002156/0.1584, allocations: 228.1 kB / 1.008 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.1585, allocations: 226.6 kB / 1.008 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/0.1591, allocations: 0.4909 MB / 1.009 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1591, allocations: 8 kB / 1.009 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1591, allocations: 0 / 1.009 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1591, allocations: 3.984 kB / 1.009 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.1597, allocations: 0.7227 MB / 1.009 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1597, allocations: 3.938 kB / 1.009 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1599, allocations: 91.83 kB / 1.009 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1599, allocations: 4 kB / 1.009 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1599, allocations: 12 kB / 1.009 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1599, allocations: 0 / 1.009 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1599, allocations: 4 kB / 1.009 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.1604, allocations: 0.6672 MB / 1.01 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1606, allocations: 210.4 kB / 1.01 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.1606, allocations: 12 kB / 1.01 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1608, allocations: 7.984 kB / 1.01 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1608, allocations: 32.45 kB / 1.01 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.1609, allocations: 27.98 kB / 1.01 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000581/0.1614, allocations: 0.9438 MB / 1.011 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1614, allocations: 0 / 1.011 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0006499/0.1621, allocations: 466.8 kB / 1.012 GB, free: 3.887 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (47): * Single equations (assignments): 47 * 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 0.001073/0.1632, allocations: 444.3 kB / 1.012 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.1635, allocations: 364.3 kB / 1.012 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1635, allocations: 0 / 1.012 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.1636, allocations: 123.4 kB / 1.013 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.1645, allocations: 457 kB / 1.013 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.1675, allocations: 3.381 MB / 1.016 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1678, allocations: 462.9 kB / 1.017 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006292/0.1684, allocations: 363.2 kB / 1.017 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.169, allocations: 0.4941 MB / 1.018 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/0.169, allocations: 0 / 1.018 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of Templates: time 0.02292/0.1919, allocations: 16.61 MB / 1.034 GB, free: 13.7 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.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.845483413897455]