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.0007928/0.0007928, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001879, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009397/0.0009397, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009432/0.001883, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9171/0.9171, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.019, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.768/1.768, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4746/2.242, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.268e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1589/0.159, allocations: 147.3 MB / 0.8732 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.1617, allocations: 1.783 MB / 0.8749 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.1619, allocations: 19.81 kB / 0.8749 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.1623, allocations: 146.9 kB / 0.8751 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.1632, allocations: 0.5126 MB / 0.8756 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.1641, allocations: 0.5065 MB / 0.8761 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008056/0.1649, allocations: 0.9621 MB / 0.877 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.1652, allocations: 264.5 kB / 0.8773 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.1658, allocations: 0.5395 MB / 0.8778 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.1662, allocations: 259.2 kB / 0.878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.1663, allocations: 32 kB / 0.8781 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.1668, allocations: 347.1 kB / 0.8784 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.167, allocations: 131.6 kB / 0.8785 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1671, allocations: 143.7 kB / 0.8787 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.1676, allocations: 0.4906 MB / 0.8791 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.1676, allocations: 0 / 0.8791 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1676, allocations: 0 / 0.8791 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.1677, allocations: 0 / 0.8791 GB, free: 10.79 MB / 0.8542 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.0007784/0.1684, allocations: 0.7833 MB / 0.8799 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1685, allocations: 12.03 kB / 0.8799 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.1691, allocations: 309.3 kB / 0.8802 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1694, allocations: 311.4 kB / 0.8805 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1694, allocations: 28.64 kB / 0.8805 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.1695, allocations: 28 kB / 0.8806 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.1698, allocations: 327.9 kB / 0.8809 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1698, allocations: 3.984 kB / 0.8809 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1698, allocations: 12 kB / 0.8809 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.1699, allocations: 8 kB / 0.8809 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.17, allocations: 99.88 kB / 0.881 GB, free: 8.777 MB / 0.8542 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.0008609/0.1708, allocations: 1.047 MB / 0.882 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.171, allocations: 145.2 kB / 0.8821 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.171, allocations: 47.66 kB / 0.8822 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.1713, allocations: 111.8 kB / 0.8823 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1713, allocations: 34.56 kB / 0.8823 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.783e-06/0.1713, allocations: 0 / 0.8823 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0002948/0.1716, allocations: 168.7 kB / 0.8825 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.1716, allocations: 51.41 kB / 0.8825 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1718, allocations: 311.3 kB / 0.8828 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1718, allocations: 33.7 kB / 0.8829 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.1719, allocations: 197 kB / 0.8831 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.172, allocations: 91.17 kB / 0.8831 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.172, allocations: 57.92 kB / 0.8832 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.1721, allocations: 350.7 kB / 0.8835 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.1721, allocations: 27.38 kB / 0.8836 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.1722, allocations: 149.1 kB / 0.8837 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1724, allocations: 158.2 kB / 0.8839 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1724, allocations: 0 / 0.8839 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001747/0.1725, allocations: 184.7 kB / 0.884 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1726, allocations: 8 kB / 0.884 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1726, allocations: 0 / 0.884 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1726, allocations: 4 kB / 0.884 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1727, allocations: 71.91 kB / 0.8841 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1727, allocations: 3.938 kB / 0.8841 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.1728, allocations: 31.78 kB / 0.8841 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1728, allocations: 12 kB / 0.8842 GB, free: 5.328 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 34 * 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 8.58e-05/0.1729, allocations: 128.6 kB / 0.8843 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.1729, allocations: 32.09 kB / 0.8843 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.1731, allocations: 157.2 kB / 0.8845 GB, free: 5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1731, allocations: 4 kB / 0.8845 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1731, allocations: 3.938 kB / 0.8845 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1731, allocations: 0 / 0.8845 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.1741, allocations: 0.5431 MB / 0.885 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1741, allocations: 4.188 kB / 0.885 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.1742, allocations: 51.91 kB / 0.885 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1743, allocations: 51.62 kB / 0.8851 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1743, allocations: 0 / 0.8851 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1743, allocations: 8 kB / 0.8851 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1743, allocations: 4 kB / 0.8851 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1743, allocations: 0 / 0.8851 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1745, allocations: 366.4 kB / 0.8855 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1746, allocations: 8 kB / 0.8855 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.1747, allocations: 8 kB / 0.8855 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1747, allocations: 19.97 kB / 0.8855 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1747, allocations: 7.984 kB / 0.8855 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.621e-05/0.1748, allocations: 120.7 kB / 0.8856 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1748, allocations: 0 / 0.8856 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002854/0.1751, allocations: 135.6 kB / 0.8857 GB, free: 3.59 MB / 0.8542 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.0002024/0.1753, allocations: 132.2 kB / 0.8859 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1754, allocations: 123.4 kB / 0.886 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.1754, allocations: 8 kB / 0.886 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.1755, allocations: 64.69 kB / 0.8861 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.1759, allocations: 196.1 kB / 0.8862 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.1792, allocations: 0.7508 MB / 0.887 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.219e-05/0.1793, allocations: 117.1 kB / 0.8871 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.1795, allocations: 55.58 kB / 0.8871 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.1797, allocations: 161.2 kB / 0.8873 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of SimCode: time 1.603e-06/0.1797, allocations: 4 kB / 0.8873 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of Templates: time 0.00949/0.1892, allocations: 7.153 MB / 0.8943 GB, free: 10.94 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.015551226213574]