Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00139/0.00139, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001468/0.001468, allocations: 162.6 kB / 23.01 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.756/2.756, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002226/0.002226, allocations: 71.91 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8786/0.8809, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1842/1.065, allocations: 153.5 MB / 1.304 GB, free: 9.922 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00414/1.069, allocations: 2.191 MB / 1.306 GB, free: 8.223 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003726/1.07, allocations: 17.28 kB / 1.306 GB, free: 8.215 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007452/1.07, allocations: 234.1 kB / 1.306 GB, free: 8.02 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/1.073, allocations: 0.9489 MB / 1.307 GB, free: 7.309 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/1.075, allocations: 0.8403 MB / 1.308 GB, free: 6.699 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001407/1.076, allocations: 0.962 MB / 1.309 GB, free: 6.145 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/1.077, allocations: 266.6 kB / 1.309 GB, free: 5.961 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/1.078, allocations: 0.618 MB / 1.31 GB, free: 5.598 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004621/1.079, allocations: 305.1 kB / 1.31 GB, free: 5.422 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/1.079, allocations: 32.66 kB / 1.31 GB, free: 5.422 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/1.08, allocations: 0.8199 MB / 1.311 GB, free: 4.965 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/1.081, allocations: 147.5 kB / 1.311 GB, free: 4.863 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/1.081, allocations: 199.6 kB / 1.311 GB, free: 4.754 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/1.082, allocations: 0.8768 MB / 1.312 GB, free: 4.234 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/1.082, allocations: 1.125 kB / 1.312 GB, free: 4.234 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.142e-06/1.082, allocations: 0 / 1.312 GB, free: 4.234 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.276e-05/1.082, allocations: 3.938 kB / 1.312 GB, free: 4.23 MB / 1.154 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.001323/1.084, allocations: 0.7423 MB / 1.313 GB, free: 3.629 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/1.084, allocations: 8.906 kB / 1.313 GB, free: 3.629 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.085, allocations: 184.2 kB / 1.313 GB, free: 3.539 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/1.086, allocations: 339.4 kB / 1.313 GB, free: 3.258 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/1.086, allocations: 22.19 kB / 1.313 GB, free: 3.25 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/1.086, allocations: 27.94 kB / 1.313 GB, free: 3.242 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/1.086, allocations: 421 kB / 1.314 GB, free: 2.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.086, allocations: 5.359 kB / 1.314 GB, free: 2.926 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/1.086, allocations: 10.75 kB / 1.314 GB, free: 2.918 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.086, allocations: 22.39 kB / 1.314 GB, free: 2.906 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/1.087, allocations: 257.5 kB / 1.314 GB, free: 2.789 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/1.089, allocations: 1.24 MB / 1.315 GB, free: 1.727 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/1.089, allocations: 193.8 kB / 1.315 GB, free: 1.625 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/1.089, allocations: 112.4 kB / 1.315 GB, free: 1.566 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006891/1.09, allocations: 130.2 kB / 1.316 GB, free: 1.52 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.09, allocations: 35.94 kB / 1.316 GB, free: 1.477 MB / 1.154 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/1.09, allocations: 0 / 1.316 GB, free: 1.477 MB / 1.154 GB Notification: Performance of matching and sorting (n=23): time 0.0009319/1.091, allocations: 352.9 kB / 1.316 GB, free: 1.301 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/1.091, allocations: 59.06 kB / 1.316 GB, free: 1.234 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/1.091, allocations: 316.9 kB / 1.316 GB, free: 1.023 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/1.091, allocations: 30.73 kB / 1.316 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.092, allocations: 215 kB / 1.317 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/1.092, allocations: 88.78 kB / 1.317 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/1.092, allocations: 49.58 kB / 1.317 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.092, allocations: 347.7 kB / 1.317 GB, free: 352 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/1.092, allocations: 81.77 kB / 1.317 GB, free: 312 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/1.092, allocations: 175.1 kB / 1.317 GB, free: 168 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/1.093, allocations: 208.8 kB / 1.317 GB, free: 44 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.093, allocations: 0 / 1.317 GB, free: 44 kB / 1.154 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005762/1.093, allocations: 278.4 kB / 1.318 GB, free: 15.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.093, allocations: 5.594 kB / 1.318 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.093, allocations: 5.094 kB / 1.318 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.093, allocations: 2.219 kB / 1.318 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/1.094, allocations: 56.16 kB / 1.318 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.094, allocations: 2.25 kB / 1.318 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/1.094, allocations: 26.56 kB / 1.318 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/1.094, allocations: 12.31 kB / 1.318 GB, free: 15.85 MB / 1.17 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.0001893/1.094, allocations: 164.4 kB / 1.318 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/1.094, allocations: 37.55 kB / 1.318 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/1.095, allocations: 285.1 kB / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.095, allocations: 3.188 kB / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.095, allocations: 0 / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.095, allocations: 3.938 kB / 1.318 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/1.096, allocations: 0.7016 MB / 1.319 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.096, allocations: 6.125 kB / 1.319 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/1.096, allocations: 38.17 kB / 1.319 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.096, allocations: 7.203 kB / 1.319 GB, free: 14.97 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/1.096, allocations: 15.39 kB / 1.319 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.096, allocations: 7.281 kB / 1.319 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.096, allocations: 1.875 kB / 1.319 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008462/1.097, allocations: 0.4945 MB / 1.32 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.097, allocations: 57.31 kB / 1.32 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/1.097, allocations: 7.531 kB / 1.32 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.098, allocations: 15.23 kB / 1.32 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/1.098, allocations: 19.91 kB / 1.32 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.098, allocations: 7.469 kB / 1.32 GB, free: 14.55 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002434/1.098, allocations: 230.6 kB / 1.32 GB, free: 14.38 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.098, allocations: 0 / 1.32 GB, free: 14.38 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005113/1.099, allocations: 131.6 kB / 1.32 GB, free: 14.25 MB / 1.17 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.0003171/1.099, allocations: 183 kB / 1.32 GB, free: 14.06 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005154/1.099, allocations: 212.7 kB / 1.32 GB, free: 13.86 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.099, allocations: 0 / 1.32 GB, free: 13.86 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/1.1, allocations: 111.9 kB / 1.32 GB, free: 13.75 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/1.101, allocations: 159.1 kB / 1.321 GB, free: 13.59 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/1.102, allocations: 0.8877 MB / 1.322 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.102, allocations: 223.4 kB / 1.322 GB, free: 12.42 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000232/1.103, allocations: 74.89 kB / 1.322 GB, free: 12.34 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/1.103, allocations: 32.5 kB / 1.322 GB, free: 12.31 MB / 1.17 GB Notification: Performance of SimCode: time 4.11e-07/1.103, allocations: 0 / 1.322 GB, free: 12.31 MB / 1.17 GB Notification: Performance of Templates: time 0.0134/1.116, allocations: 6.61 MB / 1.328 GB, free: 5.898 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.00758341490291]