Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.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.001512/0.001512, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001664/0.001664, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9326/0.9326, allocations: 177.1 MB / 204.6 MB, free: 4.992 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.775/1.775, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.698e-05, allocations: 3.312 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1308/0.1308, allocations: 146.8 MB / 0.9034 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.1334, allocations: 1.775 MB / 0.9051 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.1336, allocations: 15.88 kB / 0.9051 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.1341, allocations: 142.9 kB / 0.9053 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008883/0.135, allocations: 0.5242 MB / 0.9058 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.1358, allocations: 0.5104 MB / 0.9063 GB, free: 484 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009828/0.1368, allocations: 0.966 MB / 0.9072 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.1372, allocations: 276.4 kB / 0.9075 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.1378, allocations: 0.4987 MB / 0.908 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.138, allocations: 251.2 kB / 0.9082 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.1381, allocations: 36 kB / 0.9082 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.1385, allocations: 343.1 kB / 0.9086 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1386, allocations: 155.5 kB / 0.9087 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1388, allocations: 167.6 kB / 0.9089 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.1393, allocations: 0.5489 MB / 0.9094 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1393, allocations: 0 / 0.9094 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1394, allocations: 0 / 0.9094 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1394, allocations: 0 / 0.9094 GB, free: 13.24 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0007808/0.1401, allocations: 0.6742 MB / 0.9101 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1402, allocations: 8.031 kB / 0.9101 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.1408, allocations: 236.3 kB / 0.9103 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.1412, allocations: 303.4 kB / 0.9106 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1413, allocations: 20.66 kB / 0.9106 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1413, allocations: 47.91 kB / 0.9107 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.1416, allocations: 327.9 kB / 0.911 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1416, allocations: 3.938 kB / 0.911 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1416, allocations: 16 kB / 0.911 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1417, allocations: 8 kB / 0.911 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1418, allocations: 103.9 kB / 0.9111 GB, free: 11.42 MB / 0.8698 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.0008632/0.1426, allocations: 1.035 MB / 0.9121 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1428, allocations: 142.8 kB / 0.9122 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.1428, allocations: 43.67 kB / 0.9123 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.1431, allocations: 103.9 kB / 0.9124 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1431, allocations: 46.5 kB / 0.9124 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 2.285e-06/0.1431, allocations: 0 / 0.9124 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.000283/0.1434, allocations: 167.8 kB / 0.9126 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.1434, allocations: 51.41 kB / 0.9126 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1436, allocations: 311.3 kB / 0.9129 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1436, allocations: 29.7 kB / 0.913 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.1437, allocations: 197 kB / 0.9132 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1437, allocations: 83.25 kB / 0.9132 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.1438, allocations: 69.84 kB / 0.9133 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.1439, allocations: 350.7 kB / 0.9136 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/0.1439, allocations: 27.38 kB / 0.9137 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.144, allocations: 153 kB / 0.9138 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1441, allocations: 150.8 kB / 0.914 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1441, allocations: 4 kB / 0.914 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001709/0.1443, allocations: 184.6 kB / 0.9141 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1443, allocations: 9.875 kB / 0.9141 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1443, allocations: 0 / 0.9141 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1443, allocations: 4 kB / 0.9141 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1444, allocations: 59.91 kB / 0.9142 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1444, allocations: 11.92 kB / 0.9142 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.1445, allocations: 27.84 kB / 0.9142 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1446, allocations: 8.219 kB / 0.9142 GB, free: 7.988 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 34 * 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 8.412e-05/0.1446, allocations: 136.6 kB / 0.9144 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.1447, allocations: 31.97 kB / 0.9144 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.1449, allocations: 157.3 kB / 0.9146 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1449, allocations: 0 / 0.9146 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1449, allocations: 3.938 kB / 0.9146 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1449, allocations: 0 / 0.9146 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.1453, allocations: 0.551 MB / 0.9151 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1453, allocations: 0 / 0.9151 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1454, allocations: 39.97 kB / 0.9151 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1454, allocations: 7.938 kB / 0.9151 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1454, allocations: 8 kB / 0.9152 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1455, allocations: 3.938 kB / 0.9152 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1455, allocations: 4 kB / 0.9152 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1457, allocations: 362 kB / 0.9155 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.1458, allocations: 47.88 kB / 0.9156 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1458, allocations: 8 kB / 0.9156 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.1459, allocations: 8 kB / 0.9156 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.1459, allocations: 15.97 kB / 0.9156 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1459, allocations: 8 kB / 0.9156 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.28e-05/0.146, allocations: 124.7 kB / 0.9157 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-08/0.146, allocations: 0 / 0.9157 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002682/0.1463, allocations: 131.7 kB / 0.9158 GB, free: 6.25 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.0001819/0.1465, allocations: 140.2 kB / 0.916 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.1466, allocations: 120.4 kB / 0.9161 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1466, allocations: 4 kB / 0.9161 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.1467, allocations: 61.48 kB / 0.9161 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1471, allocations: 161.5 kB / 0.9163 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1482, allocations: 0.7641 MB / 0.917 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.1483, allocations: 125.1 kB / 0.9172 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.1484, allocations: 51.27 kB / 0.9172 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.1486, allocations: 161.2 kB / 0.9174 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of SimCode: time 1.122e-06/0.1486, allocations: 0 / 0.9174 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of Templates: time 0.008542/0.1572, allocations: 6.841 MB / 0.924 GB, free: 13.95 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.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.060862029902637]