Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001065/0.001065, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001285/0.001285, allocations: 169 kB / 23.02 MB, free: 1.551 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.9223/0.9223, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.044/2.044, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.224e-05, allocations: 3.078 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1238/0.1238, allocations: 147.5 MB / 1.022 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1262, allocations: 1.864 MB / 1.024 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.1265, allocations: 19.81 kB / 1.024 GB, free: 488 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.127, allocations: 138.9 kB / 1.024 GB, free: 348 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009318/0.1279, allocations: 0.5515 MB / 1.025 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.1287, allocations: 0.5104 MB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008285/0.1295, allocations: 0.9581 MB / 1.026 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.1299, allocations: 264.2 kB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.1304, allocations: 478.7 kB / 1.027 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.1307, allocations: 283.1 kB / 1.027 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.1307, allocations: 36 kB / 1.027 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.1313, allocations: 402.9 kB / 1.027 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1314, allocations: 163.5 kB / 1.028 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1315, allocations: 159.6 kB / 1.028 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009834/0.1325, allocations: 0.6073 MB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1325, allocations: 3.984 kB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1325, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.1325, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.9948 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.0008725/0.1334, allocations: 0.8065 MB / 1.029 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1334, allocations: 8.031 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009657/0.1344, allocations: 299.8 kB / 1.029 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.1348, allocations: 342.9 kB / 1.03 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1349, allocations: 20.66 kB / 1.03 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.1349, allocations: 32 kB / 1.03 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.1354, allocations: 388.9 kB / 1.03 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1354, allocations: 3.953 kB / 1.03 GB, free: 9.953 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.1354, allocations: 15.98 kB / 1.03 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.1354, allocations: 8 kB / 1.03 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.1357, allocations: 138.8 kB / 1.03 GB, free: 9.793 MB / 0.9948 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.001279/0.137, allocations: 1.578 MB / 1.032 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1372, allocations: 150.9 kB / 1.032 GB, free: 7.988 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.1373, allocations: 59.66 kB / 1.032 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.1375, allocations: 55.94 kB / 1.032 GB, free: 7.871 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1376, allocations: 45.33 kB / 1.032 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/0.1376, allocations: 0 / 1.032 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23): time 0.0004975/0.1381, allocations: 238.8 kB / 1.032 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1381, allocations: 55.41 kB / 1.033 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.1383, allocations: 358.8 kB / 1.033 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1384, allocations: 29.7 kB / 1.033 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1385, allocations: 263.2 kB / 1.033 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.1385, allocations: 95.2 kB / 1.033 GB, free: 6.754 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.1386, allocations: 59.59 kB / 1.033 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1387, allocations: 0.5157 MB / 1.034 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.1388, allocations: 36.45 kB / 1.034 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1389, allocations: 152.2 kB / 1.034 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.1391, allocations: 140.5 kB / 1.034 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1391, allocations: 3.938 kB / 1.034 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002713/0.1394, allocations: 202.7 kB / 1.034 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1394, allocations: 11.98 kB / 1.034 GB, free: 5.578 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1394, allocations: 4.062 kB / 1.034 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1394, allocations: 3.984 kB / 1.034 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.1396, allocations: 55.91 kB / 1.034 GB, free: 5.516 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1396, allocations: 4 kB / 1.034 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1397, allocations: 23.88 kB / 1.034 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1398, allocations: 12.11 kB / 1.034 GB, free: 5.477 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001022/0.1399, allocations: 180.4 kB / 1.035 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.1399, allocations: 47.7 kB / 1.035 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.1402, allocations: 211.1 kB / 1.035 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1402, allocations: 0 / 1.035 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1402, allocations: 4 kB / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1402, allocations: 0 / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/0.1412, allocations: 0.6908 MB / 1.035 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1412, allocations: 0 / 1.035 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1414, allocations: 60.08 kB / 1.036 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1414, allocations: 4 kB / 1.036 GB, free: 4.207 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1414, allocations: 8 kB / 1.036 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1414, allocations: 0 / 1.036 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1414, allocations: 4 kB / 1.036 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.1418, allocations: 447.7 kB / 1.036 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.1419, allocations: 67.7 kB / 1.036 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1419, allocations: 0 / 1.036 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1421, allocations: 23.98 kB / 1.036 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.1421, allocations: 27.84 kB / 1.036 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1421, allocations: 8 kB / 1.036 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001406/0.1423, allocations: 247.1 kB / 1.036 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1423, allocations: 0 / 1.036 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003173/0.1426, allocations: 119.8 kB / 1.036 GB, free: 3.23 MB / 0.9948 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.0002265/0.1428, allocations: 131.1 kB / 1.037 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.1431, allocations: 151.9 kB / 1.037 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1431, allocations: 0 / 1.037 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1432, allocations: 87.52 kB / 1.037 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.1437, allocations: 161.6 kB / 1.037 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.1451, allocations: 0.8455 MB / 1.038 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.1452, allocations: 116.6 kB / 1.038 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.1454, allocations: 66.92 kB / 1.038 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.1454, allocations: 28.5 kB / 1.038 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of SimCode: time 7.21e-07/0.1454, allocations: 0 / 1.038 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of Templates: time 0.008842/0.1543, allocations: 6.596 MB / 1.044 GB, free: 11.14 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.838416544254869]