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.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.001962/0.001962, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002611/0.002611, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.335e-06/2.335e-06, allocations: 0 / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.114e-05/4.347e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2302/0.2302, allocations: 153.4 MB / 1.027 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004986/0.2352, allocations: 2.266 MB / 1.03 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006793/0.2359, allocations: 19.81 kB / 1.03 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.237, allocations: 238.3 kB / 1.03 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.24, allocations: 1.003 MB / 1.031 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.2426, allocations: 0.8719 MB / 1.032 GB, free: 8.184 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.2443, allocations: 0.9659 MB / 1.033 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006527/0.245, allocations: 259.6 kB / 1.033 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.2469, allocations: 0.7399 MB / 1.034 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.2475, allocations: 283.1 kB / 1.034 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2476, allocations: 32 kB / 1.034 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.2497, allocations: 0.8567 MB / 1.035 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.2499, allocations: 167.4 kB / 1.035 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.2503, allocations: 171.6 kB / 1.035 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.2523, allocations: 0.9542 MB / 1.036 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2523, allocations: 0 / 1.036 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2524, allocations: 0 / 1.036 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.2524, allocations: 0 / 1.036 GB, free: 3.758 MB / 0.9948 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.001748/0.2541, allocations: 0.7454 MB / 1.037 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2542, allocations: 16.03 kB / 1.037 GB, free: 2.961 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.2562, allocations: 294.8 kB / 1.037 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.257, allocations: 343.9 kB / 1.037 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.2571, allocations: 20.66 kB / 1.037 GB, free: 2.293 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.2572, allocations: 36 kB / 1.037 GB, free: 2.258 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.2581, allocations: 456.2 kB / 1.038 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2581, allocations: 0 / 1.038 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.2582, allocations: 12 kB / 1.038 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.2582, allocations: 8 kB / 1.038 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.2591, allocations: 317.7 kB / 1.038 GB, free: 1.445 MB / 0.9948 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.002266/0.2614, allocations: 1.298 MB / 1.039 GB, free: 96 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.2622, allocations: 274.2 kB / 1.04 GB, free: 15.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.2626, allocations: 128.8 kB / 1.04 GB, free: 15.69 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/0.2631, allocations: 75.92 kB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.2633, allocations: 38.5 kB / 1.04 GB, free: 15.57 MB / 1.01 GB Notification: Performance of pre-optimization done (n=23): time 2.093e-06/0.2633, allocations: 0 / 1.04 GB, free: 15.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=23): time 0.001484/0.2648, allocations: 440.1 kB / 1.04 GB, free: 15.13 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.2648, allocations: 55.41 kB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.2652, allocations: 317.7 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.2653, allocations: 33.7 kB / 1.041 GB, free: 14.71 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.2655, allocations: 216.5 kB / 1.041 GB, free: 14.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2656, allocations: 87.27 kB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2657, allocations: 57.88 kB / 1.041 GB, free: 14.35 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.2659, allocations: 342.8 kB / 1.041 GB, free: 14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.2663, allocations: 100.4 kB / 1.041 GB, free: 13.91 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.2667, allocations: 211.8 kB / 1.042 GB, free: 13.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.2674, allocations: 265.3 kB / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2674, allocations: 0 / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009128/0.2684, allocations: 325.2 kB / 1.042 GB, free: 13.08 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2684, allocations: 8 kB / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2684, allocations: 112 / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2684, allocations: 7.969 kB / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.2688, allocations: 67.89 kB / 1.042 GB, free: 13 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2688, allocations: 4 kB / 1.042 GB, free: 13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.2691, allocations: 27.83 kB / 1.042 GB, free: 12.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.2691, allocations: 15.98 kB / 1.042 GB, free: 12.95 MB / 1.01 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.0002399/0.2694, allocations: 161.7 kB / 1.043 GB, free: 12.79 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2695, allocations: 43.81 kB / 1.043 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009609/0.2705, allocations: 328.7 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2705, allocations: 0 / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2705, allocations: 4 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2705, allocations: 0 / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.2723, allocations: 0.7725 MB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2723, allocations: 0 / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.2726, allocations: 55.89 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.2726, allocations: 4 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.2727, allocations: 11.98 kB / 1.044 GB, free: 11.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.2727, allocations: 4.125 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2727, allocations: 8 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.2741, allocations: 0.5873 MB / 1.044 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.2742, allocations: 67.7 kB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.2743, allocations: 7.938 kB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.2747, allocations: 27.97 kB / 1.044 GB, free: 10.78 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.2748, allocations: 23.91 kB / 1.044 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.2748, allocations: 12 kB / 1.044 GB, free: 10.74 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002966/0.2751, allocations: 227.2 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2751, allocations: 0 / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005717/0.2757, allocations: 123.8 kB / 1.045 GB, free: 10.4 MB / 1.01 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.0003577/0.276, allocations: 167.2 kB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008502/0.2769, allocations: 252.8 kB / 1.045 GB, free: 9.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2769, allocations: 0 / 1.045 GB, free: 9.98 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.2773, allocations: 131.9 kB / 1.045 GB, free: 9.852 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.2783, allocations: 165.5 kB / 1.045 GB, free: 9.691 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.2803, allocations: 0.8507 MB / 1.046 GB, free: 8.789 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2806, allocations: 227.1 kB / 1.046 GB, free: 8.547 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003226/0.281, allocations: 74.92 kB / 1.047 GB, free: 8.469 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2811, allocations: 28.5 kB / 1.047 GB, free: 8.441 MB / 1.01 GB Notification: Performance of SimCode: time 1.012e-06/0.2811, allocations: 0 / 1.047 GB, free: 8.441 MB / 1.01 GB Notification: Performance of Templates: time 0.01559/0.2967, allocations: 6.912 MB / 1.053 GB, free: 1.711 MB / 1.01 GB " [Timeout remaining time 300] 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: 9.042160909972154]