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.0008925/0.0008925, 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.0009217/0.0009217, 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.8916/0.8916, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.234/2.234, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 178] 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.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.212e-06/1.212e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.298e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1212/0.1213, allocations: 146.8 MB / 0.9819 GB, free: 10.83 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.1232, allocations: 1.894 MB / 0.9838 GB, free: 8.934 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.1234, allocations: 19.88 kB / 0.9838 GB, free: 8.914 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.1238, allocations: 138.9 kB / 0.9839 GB, free: 8.777 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.1245, allocations: 0.5553 MB / 0.9845 GB, free: 8.219 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.1252, allocations: 0.5143 MB / 0.985 GB, free: 7.703 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.1258, allocations: 0.9542 MB / 0.9859 GB, free: 6.746 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1261, allocations: 260.5 kB / 0.9862 GB, free: 6.484 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.1265, allocations: 0.5065 MB / 0.9867 GB, free: 5.977 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.1267, allocations: 255.2 kB / 0.9869 GB, free: 5.727 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.1268, allocations: 32 kB / 0.9869 GB, free: 5.695 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.1271, allocations: 375 kB / 0.9873 GB, free: 5.328 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1272, allocations: 159.5 kB / 0.9874 GB, free: 5.172 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1273, allocations: 163.6 kB / 0.9876 GB, free: 5.012 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.1281, allocations: 0.5957 MB / 0.9882 GB, free: 4.414 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1281, allocations: 4 kB / 0.9882 GB, free: 4.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1281, allocations: 0 / 0.9882 GB, free: 4.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1281, allocations: 0 / 0.9882 GB, free: 4.41 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006499/0.1287, allocations: 0.6661 MB / 0.9888 GB, free: 3.719 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.1287, allocations: 8.625 kB / 0.9888 GB, free: 3.711 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008017/0.1296, allocations: 292.1 kB / 0.9891 GB, free: 3.426 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1298, allocations: 303.4 kB / 0.9894 GB, free: 3.102 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1299, allocations: 24.64 kB / 0.9894 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.1299, allocations: 40 kB / 0.9895 GB, free: 3.035 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1302, allocations: 355.8 kB / 0.9898 GB, free: 2.641 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1302, allocations: 0 / 0.9898 GB, free: 2.641 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1302, allocations: 15.94 kB / 0.9898 GB, free: 2.625 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1303, allocations: 11.94 kB / 0.9898 GB, free: 2.613 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1304, allocations: 107.9 kB / 0.9899 GB, free: 2.504 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.0008078/0.1312, allocations: 1.054 MB / 0.991 GB, free: 1.406 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1314, allocations: 153.2 kB / 0.9911 GB, free: 1.246 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1314, allocations: 47.67 kB / 0.9912 GB, free: 1.195 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.1316, allocations: 51.95 kB / 0.9912 GB, free: 1.145 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1316, allocations: 38.5 kB / 0.9913 GB, free: 1.098 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.132e-06/0.1316, allocations: 0 / 0.9913 GB, free: 1.098 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0002985/0.1319, allocations: 185.2 kB / 0.9914 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.1319, allocations: 59.41 kB / 0.9915 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1321, allocations: 303.3 kB / 0.9918 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1321, allocations: 37.7 kB / 0.9918 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.1322, allocations: 193 kB / 0.992 GB, free: 308 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1322, allocations: 91.19 kB / 0.9921 GB, free: 216 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.1323, allocations: 61.91 kB / 0.9921 GB, free: 144 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.1324, allocations: 346.7 kB / 0.9925 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1324, allocations: 35.38 kB / 0.9925 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.1325, allocations: 158.1 kB / 0.9927 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1327, allocations: 170.6 kB / 0.9928 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1327, allocations: 0 / 0.9928 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001924/0.1329, allocations: 186.9 kB / 0.993 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.1329, allocations: 4 kB / 0.993 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1329, allocations: 4.219 kB / 0.993 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1329, allocations: 8 kB / 0.993 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1331, allocations: 63.89 kB / 0.9931 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1331, allocations: 7.938 kB / 0.9931 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1332, allocations: 31.88 kB / 0.9931 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1332, allocations: 8 kB / 0.9931 GB, free: 15.05 MB / 0.9636 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.99e-05/0.1333, allocations: 140.5 kB / 0.9933 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.1333, allocations: 35.91 kB / 0.9933 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.1335, allocations: 173.1 kB / 0.9935 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1335, allocations: 4 kB / 0.9935 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1335, allocations: 3.938 kB / 0.9935 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1335, allocations: 0 / 0.9935 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.134, allocations: 0.5626 MB / 0.994 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.134, allocations: 0 / 0.994 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1342, allocations: 64.08 kB / 0.9941 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1342, allocations: 3.938 kB / 0.9941 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1342, allocations: 4 kB / 0.9941 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1342, allocations: 7.984 kB / 0.9941 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1342, allocations: 3.938 kB / 0.9941 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1345, allocations: 374.8 kB / 0.9944 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.1345, allocations: 47.83 kB / 0.9945 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1346, allocations: 7.984 kB / 0.9945 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1347, allocations: 23.98 kB / 0.9945 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.1347, allocations: 27.89 kB / 0.9946 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1347, allocations: 4 kB / 0.9946 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002949/0.135, allocations: 120.7 kB / 0.9947 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.135, allocations: 0 / 0.9947 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002602/0.1353, allocations: 127.7 kB / 0.9948 GB, free: 13.22 MB / 0.9636 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.0001498/0.1354, allocations: 116.2 kB / 0.9949 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1356, allocations: 130.3 kB / 0.995 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1356, allocations: 4 kB / 0.995 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.1357, allocations: 70.48 kB / 0.9951 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1361, allocations: 166 kB / 0.9953 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1371, allocations: 0.7871 MB / 0.996 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.176e-05/0.1372, allocations: 113.3 kB / 0.9961 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.1373, allocations: 63.19 kB / 0.9962 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.1376, allocations: 165.2 kB / 0.9963 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.1376, allocations: 0 / 0.9963 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of Templates: time 0.0084/0.146, allocations: 7.169 MB / 1.003 GB, free: 4.555 MB / 0.9636 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.16095037991181]