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.00176/0.00176, allocations: 110.2 kB / 19.7 MB, free: 2.25 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.002023/0.002023, allocations: 221.4 kB / 23.01 MB, free: 5.086 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.911/2.911, allocations: 476.8 MB / 0.7714 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 176] 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.002062/0.002062, allocations: 67.86 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4278, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2397/0.6675, allocations: 177.6 MB / 1.458 GB, free: 8.969 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004614/0.6721, allocations: 2.312 MB / 1.46 GB, free: 6.652 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/0.6728, allocations: 27.81 kB / 1.46 GB, free: 6.625 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.6737, allocations: 230.4 kB / 1.46 GB, free: 6.398 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.6763, allocations: 0.984 MB / 1.461 GB, free: 5.41 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.6788, allocations: 0.8643 MB / 1.462 GB, free: 4.551 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.6804, allocations: 0.9779 MB / 1.463 GB, free: 3.566 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004704/0.6808, allocations: 267.5 kB / 1.463 GB, free: 3.301 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008147/0.6816, allocations: 478.2 kB / 1.464 GB, free: 2.832 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.6821, allocations: 330.6 kB / 1.464 GB, free: 2.508 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.6822, allocations: 32 kB / 1.464 GB, free: 2.477 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.6843, allocations: 1.072 MB / 1.465 GB, free: 1.402 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.6845, allocations: 151.5 kB / 1.465 GB, free: 1.254 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.6848, allocations: 238.8 kB / 1.466 GB, free: 1.02 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.6863, allocations: 0.9149 MB / 1.467 GB, free: 104 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.6863, allocations: 3.938 kB / 1.467 GB, free: 100 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6863, allocations: 0 / 1.467 GB, free: 100 kB / 1.154 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6863, allocations: 0 / 1.467 GB, free: 100 kB / 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.001366/0.6877, allocations: 0.7379 MB / 1.467 GB, free: 15.32 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.6877, allocations: 12.03 kB / 1.467 GB, free: 15.31 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.689, allocations: 187.4 kB / 1.468 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.6897, allocations: 335.8 kB / 1.468 GB, free: 14.77 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.6897, allocations: 20.66 kB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.6898, allocations: 32 kB / 1.468 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.6905, allocations: 373 kB / 1.468 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6905, allocations: 0 / 1.468 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.6905, allocations: 12 kB / 1.468 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.6906, allocations: 11.94 kB / 1.468 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.6911, allocations: 261.8 kB / 1.469 GB, free: 14.05 MB / 1.17 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.002021/0.6931, allocations: 1.637 MB / 1.47 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.6935, allocations: 198.4 kB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.6937, allocations: 104.7 kB / 1.47 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/0.6944, allocations: 131.9 kB / 1.471 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.6945, allocations: 38.56 kB / 1.471 GB, free: 11.8 MB / 1.17 GB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.6945, allocations: 0 / 1.471 GB, free: 11.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=23): time 0.0009148/0.6954, allocations: 356 kB / 1.471 GB, free: 11.45 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.6954, allocations: 51.41 kB / 1.471 GB, free: 11.39 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.6959, allocations: 426 kB / 1.471 GB, free: 10.96 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.6959, allocations: 29.7 kB / 1.471 GB, free: 10.93 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.6961, allocations: 224.4 kB / 1.472 GB, free: 10.71 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.6962, allocations: 79.23 kB / 1.472 GB, free: 10.63 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.6963, allocations: 57.62 kB / 1.472 GB, free: 10.57 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6965, allocations: 354.7 kB / 1.472 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.6966, allocations: 75.95 kB / 1.472 GB, free: 10.14 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.6969, allocations: 136 kB / 1.472 GB, free: 9.992 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.6973, allocations: 209.5 kB / 1.472 GB, free: 9.781 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6973, allocations: 0 / 1.472 GB, free: 9.781 MB / 1.17 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005351/0.6978, allocations: 293.2 kB / 1.473 GB, free: 9.488 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6978, allocations: 4.109 kB / 1.473 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6978, allocations: 3.938 kB / 1.473 GB, free: 9.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.6979, allocations: 4 kB / 1.473 GB, free: 9.477 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.6981, allocations: 55.84 kB / 1.473 GB, free: 9.422 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.6981, allocations: 3.938 kB / 1.473 GB, free: 9.418 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.6983, allocations: 35.77 kB / 1.473 GB, free: 9.383 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.6984, allocations: 8 kB / 1.473 GB, free: 9.375 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.0001815/0.6985, allocations: 161.8 kB / 1.473 GB, free: 9.207 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.6986, allocations: 51.7 kB / 1.473 GB, free: 9.156 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005844/0.6992, allocations: 277.3 kB / 1.473 GB, free: 8.871 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6992, allocations: 4 kB / 1.473 GB, free: 8.867 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6992, allocations: 3.938 kB / 1.473 GB, free: 8.863 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6992, allocations: 3.984 kB / 1.473 GB, free: 8.859 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.7005, allocations: 0.7793 MB / 1.474 GB, free: 8.012 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7005, allocations: 3.984 kB / 1.474 GB, free: 8.008 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.7007, allocations: 48.11 kB / 1.474 GB, free: 7.961 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.7007, allocations: 4 kB / 1.474 GB, free: 7.957 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.7008, allocations: 8 kB / 1.474 GB, free: 7.949 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7008, allocations: 3.984 kB / 1.474 GB, free: 7.945 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7008, allocations: 7.938 kB / 1.474 GB, free: 7.938 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.7016, allocations: 0.4962 MB / 1.475 GB, free: 7.406 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.7018, allocations: 71.66 kB / 1.475 GB, free: 7.336 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.7018, allocations: 8 kB / 1.475 GB, free: 7.328 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.7021, allocations: 19.98 kB / 1.475 GB, free: 7.309 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.7021, allocations: 27.81 kB / 1.475 GB, free: 7.281 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.7022, allocations: 11.94 kB / 1.475 GB, free: 7.27 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003351/0.7025, allocations: 303.1 kB / 1.475 GB, free: 6.977 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.7025, allocations: 0 / 1.475 GB, free: 6.977 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004566/0.703, allocations: 115.8 kB / 1.475 GB, free: 6.863 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.0003276/0.7033, allocations: 179.7 kB / 1.475 GB, free: 6.68 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.7038, allocations: 206.4 kB / 1.476 GB, free: 6.484 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7038, allocations: 0 / 1.476 GB, free: 6.484 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.704, allocations: 112.1 kB / 1.476 GB, free: 6.375 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.7051, allocations: 217.4 kB / 1.476 GB, free: 6.16 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.7068, allocations: 0.9442 MB / 1.477 GB, free: 5.16 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.7072, allocations: 0.8272 MB / 1.478 GB, free: 4.309 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.7073, allocations: 35.44 kB / 1.478 GB, free: 4.273 MB / 1.17 GB Notification: Performance of SimCode: time 4.31e-07/0.7073, allocations: 4 kB / 1.478 GB, free: 4.27 MB / 1.17 GB Notification: Performance of Templates: time 0.01075/0.7181, allocations: 6.645 MB / 1.484 GB, free: 13.7 MB / 1.186 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: 14.098284711013548]