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.001901/0.001901, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.002264/0.002264, allocations: 154.9 kB / 23.01 MB, free: 4.961 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 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 2.888/2.888, allocations: 394.2 MB / 0.6387 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002306/0.002306, allocations: 71.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8705, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2029/1.073, allocations: 153.5 MB / 1.337 GB, free: 12.32 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004663/1.078, allocations: 2.297 MB / 1.339 GB, free: 10.03 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/1.078, allocations: 19.81 kB / 1.339 GB, free: 10.01 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008558/1.079, allocations: 234.4 kB / 1.339 GB, free: 9.777 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/1.082, allocations: 0.9839 MB / 1.34 GB, free: 8.789 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/1.084, allocations: 0.8408 MB / 1.341 GB, free: 7.949 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001496/1.086, allocations: 0.9817 MB / 1.342 GB, free: 6.961 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/1.086, allocations: 259.5 kB / 1.342 GB, free: 6.703 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/1.087, allocations: 0.6306 MB / 1.343 GB, free: 6.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/1.088, allocations: 302.7 kB / 1.343 GB, free: 5.773 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/1.088, allocations: 36 kB / 1.343 GB, free: 5.738 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/1.09, allocations: 0.8531 MB / 1.344 GB, free: 4.883 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/1.09, allocations: 155.5 kB / 1.344 GB, free: 4.73 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/1.09, allocations: 203 kB / 1.344 GB, free: 4.531 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/1.092, allocations: 0.9148 MB / 1.345 GB, free: 3.617 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.092, allocations: 0 / 1.345 GB, free: 3.617 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.583e-06/1.092, allocations: 0 / 1.345 GB, free: 3.617 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.092, allocations: 7.922 kB / 1.345 GB, free: 3.609 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.001348/1.093, allocations: 0.761 MB / 1.346 GB, free: 2.816 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.093, allocations: 8.031 kB / 1.346 GB, free: 2.809 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/1.095, allocations: 223.4 kB / 1.346 GB, free: 2.59 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/1.096, allocations: 339.9 kB / 1.346 GB, free: 2.234 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/1.096, allocations: 24.66 kB / 1.346 GB, free: 2.211 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/1.096, allocations: 31.95 kB / 1.346 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/1.097, allocations: 456.3 kB / 1.347 GB, free: 1.695 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.097, allocations: 0 / 1.347 GB, free: 1.695 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/1.097, allocations: 16 kB / 1.347 GB, free: 1.68 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/1.097, allocations: 23.92 kB / 1.347 GB, free: 1.656 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009851/1.098, allocations: 301.7 kB / 1.347 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/1.1, allocations: 1.278 MB / 1.348 GB, free: 28 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/1.102, allocations: 278.3 kB / 1.349 GB, free: 15.74 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/1.102, allocations: 136.8 kB / 1.349 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/1.103, allocations: 71.92 kB / 1.349 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/1.103, allocations: 34.56 kB / 1.349 GB, free: 15.49 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 2.495e-06/1.103, allocations: 0 / 1.349 GB, free: 15.49 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.001999/1.105, allocations: 440.4 kB / 1.349 GB, free: 15.06 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/1.105, allocations: 51.41 kB / 1.349 GB, free: 15 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/1.105, allocations: 325.7 kB / 1.35 GB, free: 14.67 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/1.106, allocations: 29.7 kB / 1.35 GB, free: 14.63 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/1.106, allocations: 224.5 kB / 1.35 GB, free: 14.41 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.106, allocations: 83.28 kB / 1.35 GB, free: 14.33 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.106, allocations: 45.81 kB / 1.35 GB, free: 14.28 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002581/1.106, allocations: 354.7 kB / 1.35 GB, free: 13.92 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/1.107, allocations: 103.9 kB / 1.35 GB, free: 13.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/1.107, allocations: 203.7 kB / 1.351 GB, free: 13.6 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.108, allocations: 255.3 kB / 1.351 GB, free: 13.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/1.108, allocations: 4 kB / 1.351 GB, free: 13.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001229/1.11, allocations: 327.1 kB / 1.351 GB, free: 13.01 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.11, allocations: 8.031 kB / 1.351 GB, free: 13 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.11, allocations: 0 / 1.351 GB, free: 13 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.11, allocations: 4 kB / 1.351 GB, free: 13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/1.11, allocations: 63.89 kB / 1.351 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.11, allocations: 0 / 1.351 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/1.111, allocations: 31.81 kB / 1.351 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/1.111, allocations: 11.98 kB / 1.351 GB, free: 12.89 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.0002995/1.111, allocations: 165.7 kB / 1.351 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.111, allocations: 39.77 kB / 1.351 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/1.112, allocations: 328.7 kB / 1.352 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/1.112, allocations: 4 kB / 1.352 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.112, allocations: 0 / 1.352 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/1.112, allocations: 3.938 kB / 1.352 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/1.115, allocations: 0.7686 MB / 1.353 GB, free: 11.53 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.115, allocations: 4 kB / 1.353 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/1.115, allocations: 55.95 kB / 1.353 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.115, allocations: 4.125 kB / 1.353 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/1.115, allocations: 12 kB / 1.353 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/1.115, allocations: 11.92 kB / 1.353 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.115, allocations: 0 / 1.353 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/1.117, allocations: 0.5781 MB / 1.353 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/1.118, allocations: 67.7 kB / 1.353 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/1.118, allocations: 12 kB / 1.353 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/1.118, allocations: 19.98 kB / 1.353 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/1.118, allocations: 20.16 kB / 1.353 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/1.118, allocations: 11.98 kB / 1.353 GB, free: 10.7 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003912/1.119, allocations: 231.2 kB / 1.354 GB, free: 10.47 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.71e-07/1.119, allocations: 0 / 1.354 GB, free: 10.47 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007837/1.119, allocations: 123.7 kB / 1.354 GB, free: 10.35 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.000395/1.12, allocations: 174.9 kB / 1.354 GB, free: 10.17 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00115/1.121, allocations: 264.3 kB / 1.354 GB, free: 9.914 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.121, allocations: 0 / 1.354 GB, free: 9.914 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/1.122, allocations: 131.8 kB / 1.354 GB, free: 9.785 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.123, allocations: 165.6 kB / 1.354 GB, free: 9.625 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/1.126, allocations: 0.9183 MB / 1.355 GB, free: 8.66 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/1.126, allocations: 231.4 kB / 1.355 GB, free: 8.406 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005131/1.127, allocations: 70.92 kB / 1.356 GB, free: 8.336 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/1.127, allocations: 32.48 kB / 1.356 GB, free: 8.305 MB / 1.201 GB Notification: Performance of SimCode: time 7.62e-07/1.127, allocations: 0 / 1.356 GB, free: 8.305 MB / 1.201 GB Notification: Performance of Templates: time 0.0265/1.154, allocations: 7.089 MB / 1.363 GB, free: 1.402 MB / 1.201 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 -s ida -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/jenkins1/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.12751672102604]