Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001686/0.001686, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001869/0.001869, allocations: 210.6 kB / 22.99 MB, free: 4.945 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7707 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 64.23 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2067/0.5558, allocations: 153.5 MB / 1.434 GB, free: 1.957 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004592/0.5604, allocations: 2.169 MB / 1.436 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007068/0.5611, allocations: 19.81 kB / 1.436 GB, free: 15.77 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009454/0.562, allocations: 226.3 kB / 1.436 GB, free: 15.54 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.5648, allocations: 0.9568 MB / 1.437 GB, free: 14.58 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.5673, allocations: 0.8391 MB / 1.438 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.5689, allocations: 0.9741 MB / 1.439 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.5696, allocations: 275.4 kB / 1.439 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.5707, allocations: 470.3 kB / 1.439 GB, free: 12.03 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.5714, allocations: 314.6 kB / 1.44 GB, free: 11.72 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.5715, allocations: 36 kB / 1.44 GB, free: 11.69 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.5734, allocations: 0.8258 MB / 1.441 GB, free: 10.86 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.5736, allocations: 143.5 kB / 1.441 GB, free: 10.72 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.574, allocations: 203 kB / 1.441 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.5759, allocations: 0.8798 MB / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5759, allocations: 0 / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5759, allocations: 0 / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.5759, allocations: 0 / 1.442 GB, free: 9.637 MB / 1.139 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.001387/0.5773, allocations: 0.7494 MB / 1.442 GB, free: 8.855 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5773, allocations: 12.03 kB / 1.442 GB, free: 8.844 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.5786, allocations: 187.4 kB / 1.443 GB, free: 8.66 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.5793, allocations: 331.9 kB / 1.443 GB, free: 8.305 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5793, allocations: 20.66 kB / 1.443 GB, free: 8.285 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.5794, allocations: 35.95 kB / 1.443 GB, free: 8.25 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.5801, allocations: 420.4 kB / 1.443 GB, free: 7.797 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5801, allocations: 0 / 1.443 GB, free: 7.797 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.5801, allocations: 16 kB / 1.443 GB, free: 7.781 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.5802, allocations: 19.94 kB / 1.443 GB, free: 7.762 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.5807, allocations: 253.7 kB / 1.444 GB, free: 7.516 MB / 1.139 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.00171/0.5824, allocations: 1.23 MB / 1.445 GB, free: 6.23 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.5828, allocations: 210.2 kB / 1.445 GB, free: 6.016 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.583, allocations: 104.8 kB / 1.445 GB, free: 5.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.5837, allocations: 128 kB / 1.445 GB, free: 5.785 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5837, allocations: 38.5 kB / 1.445 GB, free: 5.738 MB / 1.139 GB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.5837, allocations: 0 / 1.445 GB, free: 5.738 MB / 1.139 GB Notification: Performance of matching and sorting (n=23): time 0.0009005/0.5846, allocations: 351.6 kB / 1.446 GB, free: 5.391 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.5847, allocations: 55.41 kB / 1.446 GB, free: 5.324 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.585, allocations: 325.7 kB / 1.446 GB, free: 4.996 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.5851, allocations: 33.7 kB / 1.446 GB, free: 4.957 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.5852, allocations: 216.5 kB / 1.446 GB, free: 4.742 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.5853, allocations: 83.27 kB / 1.446 GB, free: 4.66 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.5854, allocations: 61.64 kB / 1.446 GB, free: 4.594 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5856, allocations: 342.8 kB / 1.447 GB, free: 4.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.5858, allocations: 83.94 kB / 1.447 GB, free: 4.168 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.586, allocations: 175.5 kB / 1.447 GB, free: 3.973 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.5864, allocations: 218.6 kB / 1.447 GB, free: 3.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5864, allocations: 0 / 1.447 GB, free: 3.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000524/0.587, allocations: 273.3 kB / 1.447 GB, free: 3.477 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.587, allocations: 8 kB / 1.447 GB, free: 3.469 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.587, allocations: 4 kB / 1.447 GB, free: 3.465 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.587, allocations: 0 / 1.447 GB, free: 3.465 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.5873, allocations: 51.91 kB / 1.448 GB, free: 3.414 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5873, allocations: 4 kB / 1.448 GB, free: 3.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.5875, allocations: 23.78 kB / 1.448 GB, free: 3.387 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.5875, allocations: 12 kB / 1.448 GB, free: 3.375 MB / 1.139 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.0001879/0.5877, allocations: 161.8 kB / 1.448 GB, free: 3.207 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.5877, allocations: 35.75 kB / 1.448 GB, free: 3.172 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.5883, allocations: 288.7 kB / 1.448 GB, free: 2.887 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5884, allocations: 7.984 kB / 1.448 GB, free: 2.879 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5884, allocations: 0 / 1.448 GB, free: 2.879 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.5884, allocations: 3.938 kB / 1.448 GB, free: 2.875 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.5896, allocations: 0.6966 MB / 1.449 GB, free: 2.125 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5896, allocations: 0 / 1.449 GB, free: 2.125 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.5899, allocations: 47.97 kB / 1.449 GB, free: 2.078 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.5899, allocations: 7.938 kB / 1.449 GB, free: 2.07 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5899, allocations: 4 kB / 1.449 GB, free: 2.066 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5899, allocations: 3.938 kB / 1.449 GB, free: 2.062 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5899, allocations: 4 kB / 1.449 GB, free: 2.059 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.5907, allocations: 0.4987 MB / 1.449 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.5909, allocations: 71.58 kB / 1.449 GB, free: 1.457 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.5909, allocations: 4 kB / 1.449 GB, free: 1.453 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.5911, allocations: 11.98 kB / 1.449 GB, free: 1.441 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.5912, allocations: 19.97 kB / 1.449 GB, free: 1.422 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.5912, allocations: 12 kB / 1.449 GB, free: 1.41 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002526/0.5915, allocations: 231.2 kB / 1.45 GB, free: 1.188 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5915, allocations: 0 / 1.45 GB, free: 1.188 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004978/0.592, allocations: 127.7 kB / 1.45 GB, free: 1.062 MB / 1.139 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.0003237/0.5923, allocations: 183.2 kB / 1.45 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.5928, allocations: 209.2 kB / 1.45 GB, free: 0.668 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5928, allocations: 4 kB / 1.45 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.593, allocations: 103.8 kB / 1.45 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.5939, allocations: 161.6 kB / 1.45 GB, free: 416 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.5956, allocations: 0.9265 MB / 1.451 GB, free: 15.43 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.5958, allocations: 219.4 kB / 1.451 GB, free: 15.19 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5959, allocations: 31.44 kB / 1.452 GB, free: 15.16 MB / 1.154 GB Notification: Performance of SimCode: time 6.31e-07/0.5959, allocations: 0 / 1.452 GB, free: 15.16 MB / 1.154 GB Notification: Performance of Templates: time 0.009802/0.6057, allocations: 5.958 MB / 1.457 GB, free: 9.258 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.487963148392737]