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.001841/0.001841, allocations: 104 kB / 16.45 MB, free: 6.449 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.00231/0.00231, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.554/3.554, allocations: 0.4899 GB / 0.7916 GB, free: 33.5 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.002031/0.002031, allocations: 77.69 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4504, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2577/0.7081, allocations: 177.3 MB / 1.494 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004669/0.7127, allocations: 2.31 MB / 1.497 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.7133, allocations: 23.81 kB / 1.497 GB, free: 14.51 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008653/0.7141, allocations: 238.4 kB / 1.497 GB, free: 14.28 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.7169, allocations: 0.9645 MB / 1.498 GB, free: 13.31 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.7193, allocations: 0.8319 MB / 1.499 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.7208, allocations: 0.9546 MB / 1.5 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.7213, allocations: 286.9 kB / 1.5 GB, free: 11.23 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.7225, allocations: 0.5995 MB / 1.5 GB, free: 10.63 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.7229, allocations: 330.6 kB / 1.501 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.723, allocations: 32 kB / 1.501 GB, free: 10.28 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.725, allocations: 1.048 MB / 1.502 GB, free: 9.227 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.7252, allocations: 151.5 kB / 1.502 GB, free: 9.078 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.7255, allocations: 238.8 kB / 1.502 GB, free: 8.844 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.7269, allocations: 0.8994 MB / 1.503 GB, free: 7.941 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7269, allocations: 0 / 1.503 GB, free: 7.941 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7269, allocations: 0 / 1.503 GB, free: 7.941 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.7269, allocations: 0 / 1.503 GB, free: 7.941 MB / 1.201 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.001369/0.7283, allocations: 0.8208 MB / 1.504 GB, free: 7.07 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.7283, allocations: 11.98 kB / 1.504 GB, free: 7.059 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.7296, allocations: 191.4 kB / 1.504 GB, free: 6.871 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.7303, allocations: 393.7 kB / 1.504 GB, free: 6.449 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.7304, allocations: 24.66 kB / 1.504 GB, free: 6.426 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.7304, allocations: 31.94 kB / 1.504 GB, free: 6.395 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.7311, allocations: 377 kB / 1.505 GB, free: 5.996 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.7311, allocations: 0 / 1.505 GB, free: 5.996 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.7311, allocations: 16 kB / 1.505 GB, free: 5.98 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.7312, allocations: 11.94 kB / 1.505 GB, free: 5.969 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.7317, allocations: 266 kB / 1.505 GB, free: 5.711 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.7338, allocations: 1.672 MB / 1.507 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.7343, allocations: 195.5 kB / 1.507 GB, free: 3.703 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.7345, allocations: 112.8 kB / 1.507 GB, free: 3.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.7356, allocations: 0.8701 MB / 1.508 GB, free: 2.535 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.7356, allocations: 42.42 kB / 1.508 GB, free: 2.484 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.7356, allocations: 0 / 1.508 GB, free: 2.484 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.0009338/0.7366, allocations: 359.1 kB / 1.508 GB, free: 2.129 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.7366, allocations: 55.34 kB / 1.508 GB, free: 2.062 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.7371, allocations: 425.9 kB / 1.509 GB, free: 1.641 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.7371, allocations: 29.7 kB / 1.509 GB, free: 1.605 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.7373, allocations: 208.4 kB / 1.509 GB, free: 1.398 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.7374, allocations: 91.22 kB / 1.509 GB, free: 1.309 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.7375, allocations: 49.7 kB / 1.509 GB, free: 1.254 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7377, allocations: 354.7 kB / 1.509 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.7379, allocations: 83.94 kB / 1.51 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.7381, allocations: 120.1 kB / 1.51 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.7385, allocations: 217.7 kB / 1.51 GB, free: 476 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7386, allocations: 0 / 1.51 GB, free: 476 kB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005452/0.7391, allocations: 277.2 kB / 1.51 GB, free: 192 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.7391, allocations: 8 kB / 1.51 GB, free: 184 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7391, allocations: 0 / 1.51 GB, free: 184 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.7392, allocations: 4 kB / 1.51 GB, free: 180 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.7394, allocations: 56.02 kB / 1.51 GB, free: 124 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.7394, allocations: 11.91 kB / 1.51 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.7397, allocations: 31.78 kB / 1.51 GB, free: 80 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.7397, allocations: 7.984 kB / 1.51 GB, free: 72 kB / 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.0002209/0.7399, allocations: 161.8 kB / 1.51 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.74, allocations: 43.72 kB / 1.51 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.7407, allocations: 295 kB / 1.511 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7407, allocations: 4 kB / 1.511 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.7407, allocations: 7.938 kB / 1.511 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7407, allocations: 0 / 1.511 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.742, allocations: 0.8053 MB / 1.512 GB, free: 14.67 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.7421, allocations: 8 kB / 1.512 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.7423, allocations: 47.97 kB / 1.512 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7423, allocations: 0 / 1.512 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.7423, allocations: 11.94 kB / 1.512 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.7423, allocations: 7.938 kB / 1.512 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7423, allocations: 0 / 1.512 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/0.7433, allocations: 0.5125 MB / 1.512 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.7435, allocations: 148.8 kB / 1.512 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.7435, allocations: 4.188 kB / 1.512 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.7438, allocations: 19.92 kB / 1.512 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.7439, allocations: 19.97 kB / 1.512 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.7439, allocations: 15.92 kB / 1.512 GB, free: 13.83 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003613/0.7442, allocations: 303.1 kB / 1.513 GB, free: 13.54 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7442, allocations: 0 / 1.513 GB, free: 13.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005446/0.7448, allocations: 119.8 kB / 1.513 GB, free: 13.42 MB / 1.217 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.0004387/0.7452, allocations: 167 kB / 1.513 GB, free: 13.25 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000559/0.7458, allocations: 201.4 kB / 1.513 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7458, allocations: 4 kB / 1.513 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.746, allocations: 107.8 kB / 1.513 GB, free: 12.94 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.7472, allocations: 215.5 kB / 1.513 GB, free: 12.73 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.7491, allocations: 0.9176 MB / 1.514 GB, free: 11.76 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.7496, allocations: 0.8272 MB / 1.515 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.7499, allocations: 91.27 kB / 1.515 GB, free: 10.81 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.75, allocations: 35.44 kB / 1.515 GB, free: 10.78 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.75, allocations: 0 / 1.515 GB, free: 10.78 MB / 1.217 GB Notification: Performance of Templates: time 0.01619/0.7662, allocations: 8.135 MB / 1.523 GB, free: 2.777 MB / 1.217 GB " [Timeout remaining time 299] 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/jenkins/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: 10.572473654989153]