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.002334/0.002334, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003568/0.003568, allocations: 211.5 kB / 22.25 MB, free: 4.859 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.553/1.553, allocations: 230.6 MB / 256 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.78/2.78, allocations: 476 MB / 0.7699 GB, free: 4.812 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.002197/0.002197, allocations: 61 kB / 1.117 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4111, allocations: 169.9 MB / 1.283 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2123/0.6234, allocations: 153.5 MB / 1.433 GB, free: 9.703 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.6287, allocations: 2.162 MB / 1.435 GB, free: 7.535 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006222/0.6293, allocations: 23.81 kB / 1.435 GB, free: 7.512 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009509/0.6302, allocations: 238.4 kB / 1.435 GB, free: 7.277 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.6332, allocations: 0.949 MB / 1.436 GB, free: 6.324 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.6359, allocations: 0.839 MB / 1.437 GB, free: 5.488 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001821/0.6378, allocations: 0.9779 MB / 1.438 GB, free: 4.508 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/0.6385, allocations: 263.4 kB / 1.438 GB, free: 4.246 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.6396, allocations: 482.3 kB / 1.439 GB, free: 3.773 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.6403, allocations: 310.7 kB / 1.439 GB, free: 3.469 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.6404, allocations: 32 kB / 1.439 GB, free: 3.438 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.6425, allocations: 0.8297 MB / 1.44 GB, free: 2.605 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.6428, allocations: 155.4 kB / 1.44 GB, free: 2.453 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.6431, allocations: 191.1 kB / 1.44 GB, free: 2.266 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.6453, allocations: 0.8799 MB / 1.441 GB, free: 1.383 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6453, allocations: 4 kB / 1.441 GB, free: 1.379 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6453, allocations: 0 / 1.441 GB, free: 1.379 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.342e-05/0.6453, allocations: 0 / 1.441 GB, free: 1.379 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.001763/0.6471, allocations: 0.7416 MB / 1.442 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.6472, allocations: 8.031 kB / 1.442 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.6486, allocations: 187.4 kB / 1.442 GB, free: 424 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/0.6495, allocations: 331.9 kB / 1.442 GB, free: 60 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.6495, allocations: 24.66 kB / 1.442 GB, free: 36 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.6496, allocations: 35.95 kB / 1.442 GB, free: 0 / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008758/0.6505, allocations: 420.4 kB / 1.443 GB, free: 15.54 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6505, allocations: 0 / 1.443 GB, free: 15.54 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.6506, allocations: 12 kB / 1.443 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.6506, allocations: 23.8 kB / 1.443 GB, free: 15.51 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.6512, allocations: 253.8 kB / 1.443 GB, free: 15.26 MB / 1.154 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.002168/0.6534, allocations: 1.238 MB / 1.444 GB, free: 13.97 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.6539, allocations: 202.3 kB / 1.444 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.6541, allocations: 104.8 kB / 1.444 GB, free: 13.66 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/0.6548, allocations: 131.9 kB / 1.445 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.6549, allocations: 30.56 kB / 1.445 GB, free: 13.49 MB / 1.154 GB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.6549, allocations: 0 / 1.445 GB, free: 13.49 MB / 1.154 GB Notification: Performance of matching and sorting (n=23): time 0.001017/0.6559, allocations: 351.2 kB / 1.445 GB, free: 13.14 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.6559, allocations: 55.41 kB / 1.445 GB, free: 13.08 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.6564, allocations: 325.7 kB / 1.445 GB, free: 12.75 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.6565, allocations: 33.69 kB / 1.445 GB, free: 12.71 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.6567, allocations: 224.5 kB / 1.446 GB, free: 12.49 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.6568, allocations: 87.2 kB / 1.446 GB, free: 12.4 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.6569, allocations: 53.66 kB / 1.446 GB, free: 12.34 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.6571, allocations: 342.8 kB / 1.446 GB, free: 12 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.6573, allocations: 83.94 kB / 1.446 GB, free: 11.92 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.6576, allocations: 175.5 kB / 1.446 GB, free: 11.72 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.6581, allocations: 217.8 kB / 1.446 GB, free: 11.5 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6581, allocations: 0 / 1.446 GB, free: 11.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006046/0.6587, allocations: 277.2 kB / 1.447 GB, free: 11.22 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6587, allocations: 4 kB / 1.447 GB, free: 11.22 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6587, allocations: 3.984 kB / 1.447 GB, free: 11.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.6587, allocations: 4 kB / 1.447 GB, free: 11.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.659, allocations: 55.91 kB / 1.447 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.659, allocations: 32 / 1.447 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.6592, allocations: 31.88 kB / 1.447 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.6593, allocations: 12.09 kB / 1.447 GB, free: 11.11 MB / 1.154 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.0002236/0.6595, allocations: 165.7 kB / 1.447 GB, free: 10.94 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.6596, allocations: 35.8 kB / 1.447 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/0.6603, allocations: 280.7 kB / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6603, allocations: 0 / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6603, allocations: 0 / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.6603, allocations: 7.938 kB / 1.447 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.6617, allocations: 0.6961 MB / 1.448 GB, free: 9.871 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6617, allocations: 4 kB / 1.448 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.662, allocations: 47.91 kB / 1.448 GB, free: 9.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.662, allocations: 3.938 kB / 1.448 GB, free: 9.816 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.662, allocations: 12.19 kB / 1.448 GB, free: 9.805 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.662, allocations: 4 kB / 1.448 GB, free: 9.801 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.662, allocations: 0 / 1.448 GB, free: 9.801 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.663, allocations: 0.501 MB / 1.449 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.6632, allocations: 59.7 kB / 1.449 GB, free: 9.207 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.6632, allocations: 4 kB / 1.449 GB, free: 9.203 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.6635, allocations: 23.98 kB / 1.449 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.6636, allocations: 19.97 kB / 1.449 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.6636, allocations: 8 kB / 1.449 GB, free: 9.152 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00029/0.6639, allocations: 231.2 kB / 1.449 GB, free: 8.93 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6639, allocations: 0 / 1.449 GB, free: 8.93 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005742/0.6645, allocations: 127.7 kB / 1.449 GB, free: 8.805 MB / 1.154 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.000405/0.6649, allocations: 179 kB / 1.449 GB, free: 8.617 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006023/0.6655, allocations: 203.6 kB / 1.449 GB, free: 8.418 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6655, allocations: 0 / 1.449 GB, free: 8.418 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.6657, allocations: 107.8 kB / 1.449 GB, free: 8.312 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/0.6667, allocations: 162.9 kB / 1.45 GB, free: 8.164 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.6687, allocations: 0.8916 MB / 1.45 GB, free: 7.223 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.669, allocations: 231.4 kB / 1.451 GB, free: 6.973 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.6693, allocations: 70.92 kB / 1.451 GB, free: 6.906 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.6694, allocations: 27.44 kB / 1.451 GB, free: 6.879 MB / 1.154 GB Notification: Performance of SimCode: time 6.81e-07/0.6694, allocations: 0 / 1.451 GB, free: 6.879 MB / 1.154 GB Notification: Performance of Templates: time 0.01669/0.6861, allocations: 7.25 MB / 1.458 GB, free: 15.82 MB / 1.17 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/jenkins/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: 9.487688090652227]