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.0009281/0.0009281, 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.0009172/0.0009172, allocations: 169 kB / 23.02 MB, free: 1.543 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.8848/0.8848, allocations: 177.1 MB / 203.4 MB, free: 5.246 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 1.915/1.915, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 0 / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.265e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1341/0.1342, allocations: 147.5 MB / 1.022 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1365, allocations: 1.861 MB / 1.024 GB, free: 496 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.1368, allocations: 15.88 kB / 1.024 GB, free: 480 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1372, allocations: 142.9 kB / 1.024 GB, free: 336 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009081/0.1381, allocations: 0.5515 MB / 1.025 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.1389, allocations: 0.5181 MB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008741/0.1398, allocations: 0.9542 MB / 1.026 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.1402, allocations: 268.2 kB / 1.026 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.1407, allocations: 0.5065 MB / 1.027 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.141, allocations: 275.2 kB / 1.027 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.141, allocations: 36 kB / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.1415, allocations: 371.1 kB / 1.027 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1417, allocations: 159.5 kB / 1.028 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1418, allocations: 167.6 kB / 1.028 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006592/0.1425, allocations: 0.5956 MB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1425, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1425, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1425, allocations: 0 / 1.028 GB, free: 11.94 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.0009674/0.1434, allocations: 0.7948 MB / 1.029 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1435, allocations: 12.03 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.1444, allocations: 295.8 kB / 1.029 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1448, allocations: 336.8 kB / 1.03 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1448, allocations: 24.66 kB / 1.03 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.1448, allocations: 32 kB / 1.03 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.1452, allocations: 380.9 kB / 1.03 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1453, allocations: 3.938 kB / 1.03 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.1453, allocations: 16 kB / 1.03 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1453, allocations: 16 kB / 1.03 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1455, allocations: 138.8 kB / 1.03 GB, free: 9.797 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.001128/0.1466, allocations: 1.567 MB / 1.032 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.1469, allocations: 148.5 kB / 1.032 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.147, allocations: 63.66 kB / 1.032 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.1472, allocations: 51.94 kB / 1.032 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1472, allocations: 37.39 kB / 1.032 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1472, allocations: 0 / 1.032 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23): time 0.0004582/0.1476, allocations: 257.7 kB / 1.032 GB, free: 7.586 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.1477, allocations: 55.41 kB / 1.032 GB, free: 7.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1479, allocations: 370.7 kB / 1.033 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1479, allocations: 33.7 kB / 1.033 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.148, allocations: 279.1 kB / 1.033 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.1481, allocations: 91.2 kB / 1.033 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.1481, allocations: 67.62 kB / 1.033 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1483, allocations: 0.5196 MB / 1.034 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.1483, allocations: 44.53 kB / 1.034 GB, free: 6.082 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1485, allocations: 201.4 kB / 1.034 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1487, allocations: 204.8 kB / 1.034 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1487, allocations: 3.938 kB / 1.034 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003023/0.149, allocations: 262.8 kB / 1.034 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.149, allocations: 4 kB / 1.034 GB, free: 5.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.149, allocations: 4 kB / 1.034 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.149, allocations: 4 kB / 1.034 GB, free: 5.312 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1492, allocations: 71.89 kB / 1.035 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1492, allocations: 4 kB / 1.035 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1494, allocations: 35.98 kB / 1.035 GB, free: 5.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1494, allocations: 12 kB / 1.035 GB, free: 5.191 MB / 0.9948 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 9.55e-05/0.1495, allocations: 172.5 kB / 1.035 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.1495, allocations: 47.7 kB / 1.035 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1498, allocations: 214.6 kB / 1.035 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.1498, allocations: 0 / 1.035 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1498, allocations: 0 / 1.035 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1498, allocations: 4 kB / 1.035 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.1505, allocations: 0.6971 MB / 1.036 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1505, allocations: 0 / 1.036 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1506, allocations: 55.91 kB / 1.036 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1506, allocations: 0 / 1.036 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1507, allocations: 7.984 kB / 1.036 GB, free: 3.926 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1507, allocations: 8 kB / 1.036 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1507, allocations: 0 / 1.036 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.1512, allocations: 452.6 kB / 1.036 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.1513, allocations: 67.66 kB / 1.036 GB, free: 3.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1513, allocations: 4 kB / 1.036 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1515, allocations: 15.98 kB / 1.036 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1515, allocations: 23.91 kB / 1.036 GB, free: 3.324 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1515, allocations: 15.98 kB / 1.036 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001366/0.1517, allocations: 247.1 kB / 1.037 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1517, allocations: 0 / 1.037 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002947/0.1519, allocations: 123.8 kB / 1.037 GB, free: 2.945 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.0001803/0.1521, allocations: 139.1 kB / 1.037 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.1524, allocations: 167.2 kB / 1.037 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1524, allocations: 0 / 1.037 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1525, allocations: 84.27 kB / 1.037 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.153, allocations: 157.2 kB / 1.037 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1543, allocations: 0.8494 MB / 1.038 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.902e-05/0.1543, allocations: 121.3 kB / 1.038 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.1545, allocations: 71.22 kB / 1.038 GB, free: 1.273 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.1546, allocations: 32.5 kB / 1.038 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.1546, allocations: 0 / 1.038 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of Templates: time 0.008906/0.1635, allocations: 7.149 MB / 1.045 GB, free: 10.28 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.543059820774943]