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.00195/0.00195, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002142/0.002142, allocations: 160.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.569/1.569, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.928/2.928, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.174e-06/2.174e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.191e-05, allocations: 6.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.9242/0.9242, allocations: 153.4 MB / 1.15 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004483/0.9287, allocations: 2.272 MB / 1.152 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/0.9293, allocations: 18.72 kB / 1.152 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008613/0.9301, allocations: 237.3 kB / 1.152 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.9329, allocations: 1.002 MB / 1.153 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.9354, allocations: 0.87 MB / 1.154 GB, free: 45.06 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.9369, allocations: 0.9673 MB / 1.155 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.9373, allocations: 255.2 kB / 1.155 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.9387, allocations: 0.7397 MB / 1.156 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.9391, allocations: 274.5 kB / 1.156 GB, free: 45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.9392, allocations: 34.06 kB / 1.156 GB, free: 45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.9411, allocations: 0.8594 MB / 1.157 GB, free: 44.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.9412, allocations: 163.3 kB / 1.157 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.9414, allocations: 171 kB / 1.158 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.943, allocations: 0.9601 MB / 1.158 GB, free: 44.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.943, allocations: 0 / 1.158 GB, free: 44.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.943, allocations: 0.8438 kB / 1.158 GB, free: 44.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.943, allocations: 0 / 1.158 GB, free: 44.77 MB / 1.076 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.001141/0.9441, allocations: 0.7516 MB / 1.159 GB, free: 44.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.9442, allocations: 8.656 kB / 1.159 GB, free: 44.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.9458, allocations: 223.5 kB / 1.159 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.9464, allocations: 326.9 kB / 1.16 GB, free: 44.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.9464, allocations: 26.53 kB / 1.16 GB, free: 44.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.9465, allocations: 31.03 kB / 1.16 GB, free: 44.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.9472, allocations: 457.2 kB / 1.16 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.9472, allocations: 4.125 kB / 1.16 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.9473, allocations: 15.88 kB / 1.16 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.9473, allocations: 8.125 kB / 1.16 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/0.948, allocations: 306.7 kB / 1.161 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.9495, allocations: 1.279 MB / 1.162 GB, free: 43.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.9501, allocations: 270 kB / 1.162 GB, free: 43.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.9504, allocations: 135.9 kB / 1.162 GB, free: 43.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.9509, allocations: 70.59 kB / 1.162 GB, free: 43.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.9509, allocations: 34.62 kB / 1.162 GB, free: 43.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.694e-06/0.9509, allocations: 112 / 1.162 GB, free: 43.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.001192/0.9521, allocations: 436.5 kB / 1.163 GB, free: 43.03 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.9522, allocations: 57.53 kB / 1.163 GB, free: 42.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.9524, allocations: 318.8 kB / 1.163 GB, free: 42.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.9525, allocations: 31.73 kB / 1.163 GB, free: 42.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.9526, allocations: 218.3 kB / 1.163 GB, free: 42.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.9526, allocations: 85.67 kB / 1.163 GB, free: 42.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.9527, allocations: 52.34 kB / 1.163 GB, free: 42.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.9528, allocations: 346.4 kB / 1.164 GB, free: 42.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.9531, allocations: 102.3 kB / 1.164 GB, free: 42.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.9534, allocations: 207.3 kB / 1.164 GB, free: 42.22 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.9539, allocations: 255.1 kB / 1.164 GB, free: 42.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9539, allocations: 0 / 1.164 GB, free: 42.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006778/0.9546, allocations: 327.2 kB / 1.165 GB, free: 42.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9546, allocations: 6.875 kB / 1.165 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.9546, allocations: 0 / 1.165 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.9547, allocations: 7.281 kB / 1.165 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.955, allocations: 60.38 kB / 1.165 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.955, allocations: 7.031 kB / 1.165 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.9553, allocations: 28.19 kB / 1.165 GB, free: 42.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.9553, allocations: 11.67 kB / 1.165 GB, free: 42.12 MB / 1.076 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.0001739/0.9555, allocations: 161.5 kB / 1.165 GB, free: 42.01 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.9556, allocations: 38.03 kB / 1.165 GB, free: 41.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.9563, allocations: 335.8 kB / 1.165 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.9563, allocations: 3.781 kB / 1.165 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9563, allocations: 0 / 1.165 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9563, allocations: 4.234 kB / 1.165 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.9577, allocations: 0.7826 MB / 1.166 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9577, allocations: 1.031 kB / 1.166 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.958, allocations: 52.92 kB / 1.166 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.958, allocations: 3.5 kB / 1.166 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.958, allocations: 15.27 kB / 1.166 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.958, allocations: 4.438 kB / 1.166 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.958, allocations: 0 / 1.166 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.9591, allocations: 0.581 MB / 1.167 GB, free: 41.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.9592, allocations: 61.62 kB / 1.167 GB, free: 41.42 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.9592, allocations: 11.34 kB / 1.167 GB, free: 41.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.9595, allocations: 21.06 kB / 1.167 GB, free: 41.42 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.9596, allocations: 28.48 kB / 1.167 GB, free: 41.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.9596, allocations: 9.156 kB / 1.167 GB, free: 41.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001915/0.9598, allocations: 229.3 kB / 1.167 GB, free: 41.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9598, allocations: 2.25 kB / 1.167 GB, free: 41.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004814/0.9603, allocations: 120.2 kB / 1.167 GB, free: 41.32 MB / 1.076 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.0003067/0.9606, allocations: 165.7 kB / 1.167 GB, free: 41.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.9613, allocations: 252.7 kB / 1.168 GB, free: 41.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9613, allocations: 0 / 1.168 GB, free: 41.22 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.9616, allocations: 137 kB / 1.168 GB, free: 41.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.9625, allocations: 153.7 kB / 1.168 GB, free: 41.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.9641, allocations: 0.8433 MB / 1.169 GB, free: 40.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.9643, allocations: 224.2 kB / 1.169 GB, free: 40.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002606/0.9645, allocations: 72.11 kB / 1.169 GB, free: 40.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.9646, allocations: 31.16 kB / 1.169 GB, free: 40.7 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.9646, allocations: 0 / 1.169 GB, free: 40.7 MB / 1.076 GB Notification: Performance of Templates: time 0.01559/0.9802, allocations: 6.849 MB / 1.176 GB, free: 40.14 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.849808618426323]