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.001495/0.001495, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001499/0.001499, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.601/1.601, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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 3.053/3.053, allocations: 0.49 GB / 0.7923 GB, free: 1.363 MB / 0.6231 GB " [Timeout remaining time 176] 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.00202/0.00202, allocations: 67.91 kB / 1.15 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262/1.264, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2594/1.523, allocations: 177.3 MB / 1.495 GB, free: 5.688 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006426/1.529, allocations: 2.317 MB / 1.497 GB, free: 3.797 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/1.531, allocations: 21.84 kB / 1.497 GB, free: 3.785 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/1.532, allocations: 229.5 kB / 1.498 GB, free: 3.594 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003978/1.536, allocations: 0.9718 MB / 1.499 GB, free: 2.859 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/1.539, allocations: 0.8333 MB / 1.499 GB, free: 2.254 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002631/1.542, allocations: 0.9585 MB / 1.5 GB, free: 1.703 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/1.543, allocations: 278 kB / 1.501 GB, free: 1.523 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/1.544, allocations: 0.6096 MB / 1.501 GB, free: 1.164 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/1.545, allocations: 325.6 kB / 1.501 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/1.545, allocations: 31.94 kB / 1.502 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/1.548, allocations: 1.043 MB / 1.503 GB, free: 380 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/1.548, allocations: 158.7 kB / 1.503 GB, free: 224 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003539/1.549, allocations: 234.8 kB / 1.503 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/1.551, allocations: 0.9098 MB / 1.504 GB, free: 15.08 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.551, allocations: 0 / 1.504 GB, free: 15.08 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.935e-06/1.551, allocations: 0 / 1.504 GB, free: 15.08 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.551, allocations: 0 / 1.504 GB, free: 15.08 MB / 1.186 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.001939/1.553, allocations: 0.817 MB / 1.505 GB, free: 14.21 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.276e-05/1.553, allocations: 11.98 kB / 1.505 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.554, allocations: 187.4 kB / 1.505 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/1.555, allocations: 397.7 kB / 1.505 GB, free: 13.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/1.555, allocations: 20.66 kB / 1.505 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/1.555, allocations: 32 kB / 1.505 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/1.556, allocations: 373.1 kB / 1.506 GB, free: 13.15 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/1.556, allocations: 0 / 1.506 GB, free: 13.15 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/1.556, allocations: 12 kB / 1.506 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/1.556, allocations: 11.94 kB / 1.506 GB, free: 13.12 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/1.557, allocations: 262 kB / 1.506 GB, free: 12.87 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/1.56, allocations: 1.68 MB / 1.507 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/1.56, allocations: 194.5 kB / 1.508 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/1.561, allocations: 116.8 kB / 1.508 GB, free: 10.74 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/1.562, allocations: 0.8701 MB / 1.509 GB, free: 9.684 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.562, allocations: 38.42 kB / 1.509 GB, free: 9.637 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 2.735e-06/1.562, allocations: 0 / 1.509 GB, free: 9.637 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.001316/1.564, allocations: 365 kB / 1.509 GB, free: 9.273 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/1.564, allocations: 51.41 kB / 1.509 GB, free: 9.211 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/1.564, allocations: 426 kB / 1.509 GB, free: 8.785 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/1.564, allocations: 29.7 kB / 1.509 GB, free: 8.75 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/1.565, allocations: 212.4 kB / 1.51 GB, free: 8.539 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.565, allocations: 91.22 kB / 1.51 GB, free: 8.449 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.565, allocations: 49.7 kB / 1.51 GB, free: 8.395 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002988/1.565, allocations: 350.7 kB / 1.51 GB, free: 8.043 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/1.565, allocations: 79.95 kB / 1.51 GB, free: 7.965 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/1.566, allocations: 128.1 kB / 1.51 GB, free: 7.828 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/1.566, allocations: 201.2 kB / 1.511 GB, free: 7.621 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.566, allocations: 0 / 1.511 GB, free: 7.621 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000657/1.567, allocations: 287.6 kB / 1.511 GB, free: 7.336 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.567, allocations: 11.94 kB / 1.511 GB, free: 7.324 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.567, allocations: 3.938 kB / 1.511 GB, free: 7.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/1.567, allocations: 7.984 kB / 1.511 GB, free: 7.312 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/1.567, allocations: 47.98 kB / 1.511 GB, free: 7.266 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.567, allocations: 3.938 kB / 1.511 GB, free: 7.262 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/1.567, allocations: 31.77 kB / 1.511 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/1.568, allocations: 8 kB / 1.511 GB, free: 7.223 MB / 1.186 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.000232/1.568, allocations: 169.8 kB / 1.511 GB, free: 7.047 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/1.568, allocations: 43.72 kB / 1.511 GB, free: 7.004 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/1.569, allocations: 288.3 kB / 1.511 GB, free: 6.719 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.569, allocations: 3.984 kB / 1.511 GB, free: 6.715 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.569, allocations: 7.938 kB / 1.511 GB, free: 6.707 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.569, allocations: 0 / 1.511 GB, free: 6.707 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/1.57, allocations: 0.8135 MB / 1.512 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.57, allocations: 8 kB / 1.512 GB, free: 5.812 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/1.57, allocations: 52.16 kB / 1.512 GB, free: 5.762 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.57, allocations: 3.938 kB / 1.512 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/1.57, allocations: 4 kB / 1.512 GB, free: 5.754 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.57, allocations: 4 kB / 1.512 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.57, allocations: 0 / 1.512 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009898/1.571, allocations: 0.5078 MB / 1.513 GB, free: 5.207 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/1.571, allocations: 144.8 kB / 1.513 GB, free: 5.047 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/1.572, allocations: 11.98 kB / 1.513 GB, free: 5.035 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/1.572, allocations: 19.98 kB / 1.513 GB, free: 5.016 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/1.572, allocations: 15.98 kB / 1.513 GB, free: 5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/1.572, allocations: 11.94 kB / 1.513 GB, free: 4.988 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003614/1.572, allocations: 299.1 kB / 1.513 GB, free: 4.695 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.572, allocations: 0 / 1.513 GB, free: 4.695 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000497/1.573, allocations: 119.8 kB / 1.513 GB, free: 4.578 MB / 1.186 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.0004028/1.573, allocations: 183 kB / 1.514 GB, free: 4.391 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005946/1.574, allocations: 195.7 kB / 1.514 GB, free: 4.199 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.574, allocations: 4 kB / 1.514 GB, free: 4.195 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/1.574, allocations: 115.8 kB / 1.514 GB, free: 4.082 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.575, allocations: 226.7 kB / 1.514 GB, free: 3.867 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/1.577, allocations: 0.9527 MB / 1.515 GB, free: 2.859 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/1.578, allocations: 0.8194 MB / 1.516 GB, free: 2.012 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/1.578, allocations: 43.44 kB / 1.516 GB, free: 1.969 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/1.578, allocations: 0 / 1.516 GB, free: 1.969 MB / 1.186 GB Notification: Performance of Templates: time 0.01293/1.591, allocations: 6.648 MB / 1.522 GB, free: 11.39 MB / 1.201 GB " [Timeout remaining time 298] 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 -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: 14.569679492997238]