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.00093/0.00093, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001797/0.001797, allocations: 169.4 kB / 24.05 MB, free: 460 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.9032/0.9032, allocations: 177.2 MB / 204.5 MB, free: 5.508 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.078/2.078, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.323e-06/1.323e-06, allocations: 0 / 0.8794 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.239e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1168/0.1168, allocations: 144.7 MB / 1.021 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.119, allocations: 1.85 MB / 1.023 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.1192, allocations: 15.88 kB / 1.023 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.1196, allocations: 142.9 kB / 1.023 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008099/0.1204, allocations: 0.5553 MB / 1.023 GB, free: 2.277 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.1212, allocations: 0.5104 MB / 1.024 GB, free: 1.766 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007886/0.122, allocations: 0.9581 MB / 1.025 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.1223, allocations: 268.2 kB / 1.025 GB, free: 0.5391 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005056/0.1228, allocations: 0.4987 MB / 1.025 GB, free: 40 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.1232, allocations: 275.2 kB / 1.026 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.1232, allocations: 32 kB / 1.026 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.1237, allocations: 379 kB / 1.026 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1238, allocations: 163.5 kB / 1.026 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1239, allocations: 159.6 kB / 1.026 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.1245, allocations: 0.5917 MB / 1.027 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1245, allocations: 4 kB / 1.027 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.1245, allocations: 0 / 1.027 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1245, allocations: 0 / 1.027 GB, free: 14.45 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.0007481/0.1253, allocations: 0.8103 MB / 1.028 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1253, allocations: 8.031 kB / 1.028 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/0.1262, allocations: 291.8 kB / 1.028 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1265, allocations: 324.8 kB / 1.028 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1265, allocations: 24.66 kB / 1.028 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.1265, allocations: 32 kB / 1.028 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.1269, allocations: 372.8 kB / 1.029 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1269, allocations: 0 / 1.029 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.1269, allocations: 12 kB / 1.029 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1269, allocations: 12 kB / 1.029 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1271, allocations: 115.3 kB / 1.029 GB, free: 12.36 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.001005/0.1281, allocations: 1.501 MB / 1.03 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1283, allocations: 148.4 kB / 1.03 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.1283, allocations: 47.67 kB / 1.031 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.1285, allocations: 55.94 kB / 1.031 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.1285, allocations: 33.39 kB / 1.031 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=23): time 1.062e-06/0.1285, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23): time 0.0003798/0.1289, allocations: 229.7 kB / 1.031 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1289, allocations: 55.41 kB / 1.031 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1291, allocations: 366.5 kB / 1.031 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1292, allocations: 37.7 kB / 1.031 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1293, allocations: 287.1 kB / 1.032 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.1293, allocations: 83.22 kB / 1.032 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.1294, allocations: 71.59 kB / 1.032 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1295, allocations: 0.5235 MB / 1.032 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.1296, allocations: 32.53 kB / 1.032 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1297, allocations: 198.4 kB / 1.032 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.13, allocations: 187 kB / 1.033 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.13, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002654/0.1302, allocations: 237 kB / 1.033 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1303, allocations: 8 kB / 1.033 GB, free: 8.047 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1303, allocations: 4.219 kB / 1.033 GB, free: 8.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.1303, allocations: 4 kB / 1.033 GB, free: 8.039 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1305, allocations: 71.89 kB / 1.033 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1305, allocations: 4 kB / 1.033 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1306, allocations: 35.88 kB / 1.033 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1306, allocations: 15.94 kB / 1.033 GB, free: 7.914 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.571e-05/0.1307, allocations: 172.5 kB / 1.033 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.1308, allocations: 43.7 kB / 1.033 GB, free: 7.691 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.131, allocations: 206.8 kB / 1.033 GB, free: 7.488 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.131, allocations: 0 / 1.033 GB, free: 7.488 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.131, allocations: 0 / 1.033 GB, free: 7.488 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.131, allocations: 4 kB / 1.033 GB, free: 7.484 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.1316, allocations: 0.6132 MB / 1.034 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1316, allocations: 4 kB / 1.034 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1317, allocations: 56.08 kB / 1.034 GB, free: 6.754 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1317, allocations: 4 kB / 1.034 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1318, allocations: 8 kB / 1.034 GB, free: 6.742 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1318, allocations: 4 kB / 1.034 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1318, allocations: 0 / 1.034 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.1321, allocations: 433.9 kB / 1.034 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.1322, allocations: 59.67 kB / 1.035 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1322, allocations: 11.98 kB / 1.035 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1324, allocations: 15.98 kB / 1.035 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1324, allocations: 23.91 kB / 1.035 GB, free: 6.164 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1324, allocations: 8 kB / 1.035 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001131/0.1325, allocations: 243 kB / 1.035 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1325, allocations: 0 / 1.035 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002958/0.1328, allocations: 119.8 kB / 1.035 GB, free: 5.805 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.0001634/0.133, allocations: 131.1 kB / 1.035 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1332, allocations: 155.2 kB / 1.035 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1332, allocations: 0 / 1.035 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.1333, allocations: 75.52 kB / 1.035 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.1338, allocations: 158 kB / 1.035 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1349, allocations: 0.8416 MB / 1.036 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.135, allocations: 117.3 kB / 1.036 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.1351, allocations: 59.27 kB / 1.036 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.1354, allocations: 198.1 kB / 1.037 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of SimCode: time 8.52e-07/0.1354, allocations: 3.938 kB / 1.037 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of Templates: time 0.008573/0.1439, allocations: 7.362 MB / 1.044 GB, free: 12.82 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.6995739988051355]