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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.24/3.24, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001911/0.001911, allocations: 64.08 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4298, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.3193/0.7491, allocations: 174.7 MB / 1.487 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.7562, allocations: 2.318 MB / 1.489 GB, free: 8.023 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.7574, allocations: 19.81 kB / 1.489 GB, free: 8.004 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.7588, allocations: 234.4 kB / 1.489 GB, free: 7.773 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.7629, allocations: 0.9762 MB / 1.49 GB, free: 6.793 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.7667, allocations: 0.8632 MB / 1.491 GB, free: 5.934 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.7692, allocations: 0.9779 MB / 1.492 GB, free: 4.953 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.7699, allocations: 275.2 kB / 1.492 GB, free: 4.68 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.7717, allocations: 0.6151 MB / 1.493 GB, free: 4.062 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005657/0.7722, allocations: 326.6 kB / 1.493 GB, free: 3.742 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.7723, allocations: 32 kB / 1.493 GB, free: 3.711 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.7752, allocations: 1.06 MB / 1.494 GB, free: 2.648 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.7755, allocations: 151.5 kB / 1.494 GB, free: 2.5 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.7758, allocations: 234.8 kB / 1.494 GB, free: 2.27 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.778, allocations: 0.911 MB / 1.495 GB, free: 1.355 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.778, allocations: 0 / 1.495 GB, free: 1.355 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.194e-06/0.778, allocations: 0 / 1.495 GB, free: 1.355 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.778, allocations: 3.938 kB / 1.495 GB, free: 1.352 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.001751/0.7798, allocations: 0.7494 MB / 1.496 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/0.7799, allocations: 8.031 kB / 1.496 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.7812, allocations: 183.4 kB / 1.496 GB, free: 392 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009387/0.7821, allocations: 323.9 kB / 1.497 GB, free: 44 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.7822, allocations: 20.66 kB / 1.497 GB, free: 24 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.7823, allocations: 32.08 kB / 1.497 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.7831, allocations: 376.9 kB / 1.497 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7831, allocations: 3.984 kB / 1.497 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.7832, allocations: 12 kB / 1.497 GB, free: 15.58 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.7832, allocations: 11.94 kB / 1.497 GB, free: 15.57 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.7838, allocations: 261.7 kB / 1.497 GB, free: 15.31 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.7864, allocations: 1.641 MB / 1.499 GB, free: 13.54 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.7869, allocations: 194.4 kB / 1.499 GB, free: 13.34 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.7871, allocations: 112.9 kB / 1.499 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/0.7879, allocations: 123.8 kB / 1.499 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.7879, allocations: 46.5 kB / 1.499 GB, free: 13.05 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 2.265e-06/0.7879, allocations: 0 / 1.499 GB, free: 13.05 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.001084/0.789, allocations: 358.5 kB / 1.5 GB, free: 12.7 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.7891, allocations: 55.41 kB / 1.5 GB, free: 12.63 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.7897, allocations: 429.9 kB / 1.5 GB, free: 12.2 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.7898, allocations: 29.7 kB / 1.5 GB, free: 12.16 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.79, allocations: 216.4 kB / 1.5 GB, free: 11.95 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.7901, allocations: 83.27 kB / 1.5 GB, free: 11.87 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.7902, allocations: 49.7 kB / 1.5 GB, free: 11.81 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0003031/0.7905, allocations: 358.7 kB / 1.501 GB, free: 11.45 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.7907, allocations: 75.95 kB / 1.501 GB, free: 11.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.791, allocations: 124.8 kB / 1.501 GB, free: 11.25 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.7915, allocations: 209.3 kB / 1.501 GB, free: 11.03 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7915, allocations: 0 / 1.501 GB, free: 11.03 MB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006364/0.7921, allocations: 285.3 kB / 1.501 GB, free: 10.75 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.7922, allocations: 9.719 kB / 1.501 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.7922, allocations: 3.984 kB / 1.501 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.7922, allocations: 0 / 1.501 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.7925, allocations: 51.91 kB / 1.502 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.7925, allocations: 7.938 kB / 1.502 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.7927, allocations: 35.72 kB / 1.502 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.7928, allocations: 12 kB / 1.502 GB, free: 10.63 MB / 1.201 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.0002499/0.793, allocations: 165.8 kB / 1.502 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.7931, allocations: 39.77 kB / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000727/0.7938, allocations: 295.2 kB / 1.502 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7938, allocations: 0 / 1.502 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.7939, allocations: 3.938 kB / 1.502 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.7939, allocations: 3.984 kB / 1.502 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.7954, allocations: 0.7792 MB / 1.503 GB, free: 9.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.7954, allocations: 4 kB / 1.503 GB, free: 9.266 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.7957, allocations: 44.16 kB / 1.503 GB, free: 9.223 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.7957, allocations: 4 kB / 1.503 GB, free: 9.219 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.7957, allocations: 12 kB / 1.503 GB, free: 9.207 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.7957, allocations: 7.938 kB / 1.503 GB, free: 9.199 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7957, allocations: 0 / 1.503 GB, free: 9.199 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.7967, allocations: 0.5137 MB / 1.503 GB, free: 8.652 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.7969, allocations: 71.66 kB / 1.503 GB, free: 8.582 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.797, allocations: 8 kB / 1.503 GB, free: 8.574 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.7972, allocations: 11.98 kB / 1.503 GB, free: 8.562 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.7973, allocations: 23.97 kB / 1.504 GB, free: 8.539 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.7974, allocations: 15.94 kB / 1.504 GB, free: 8.523 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004168/0.7978, allocations: 299.1 kB / 1.504 GB, free: 8.23 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7978, allocations: 3.938 kB / 1.504 GB, free: 8.227 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005325/0.7983, allocations: 111.8 kB / 1.504 GB, free: 8.117 MB / 1.201 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.0006737/0.799, allocations: 187.2 kB / 1.504 GB, free: 7.934 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006366/0.7996, allocations: 211.6 kB / 1.504 GB, free: 7.727 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7996, allocations: 4.062 kB / 1.504 GB, free: 7.723 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.7999, allocations: 107.8 kB / 1.504 GB, free: 7.617 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.8011, allocations: 227.5 kB / 1.505 GB, free: 7.402 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.8032, allocations: 0.9037 MB / 1.506 GB, free: 6.449 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.8038, allocations: 0.8272 MB / 1.506 GB, free: 5.594 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003211/0.8041, allocations: 87.34 kB / 1.506 GB, free: 5.504 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.8043, allocations: 39.42 kB / 1.506 GB, free: 5.465 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.8043, allocations: 0 / 1.506 GB, free: 5.465 MB / 1.201 GB Notification: Performance of Templates: time 0.02074/0.825, allocations: 8.249 MB / 1.514 GB, free: 13.35 MB / 1.217 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: 10.734975261613727]