Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.0007617/0.0007617, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001821, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007162/0.0007162, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001767, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9436/0.9436, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09064/1.034, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.71/1.71, allocations: 378.3 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4552/2.165, allocations: 123.3 MB / 0.7283 GB, free: 5.762 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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.816e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1444/0.1444, allocations: 151.2 MB / 0.8773 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006209/0.1506, allocations: 4.3 MB / 0.8815 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.1512, allocations: 51.62 kB / 0.8815 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.1518, allocations: 301.8 kB / 0.8818 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.1538, allocations: 1.383 MB / 0.8832 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1549, allocations: 0.7248 MB / 0.8839 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.1575, allocations: 2.941 MB / 0.8868 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009997/0.1585, allocations: 0.7849 MB / 0.8875 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.1601, allocations: 1.648 MB / 0.8891 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000784/0.1609, allocations: 0.8335 MB / 0.89 GB, free: 15.95 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.161, allocations: 108 kB / 0.8901 GB, free: 15.84 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.1616, allocations: 439 kB / 0.8905 GB, free: 15.41 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.1619, allocations: 418.9 kB / 0.8909 GB, free: 15 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.1622, allocations: 403.4 kB / 0.8913 GB, free: 14.61 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.1634, allocations: 1.094 MB / 0.8923 GB, free: 13.51 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 8.567e-06/0.1634, allocations: 0 / 0.8923 GB, free: 13.51 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1634, allocations: 0 / 0.8923 GB, free: 13.51 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.1634, allocations: 0 / 0.8923 GB, free: 13.51 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001752/0.1651, allocations: 1.735 MB / 0.894 GB, free: 11.73 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1652, allocations: 8.031 kB / 0.894 GB, free: 11.72 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.1662, allocations: 447.6 kB / 0.8945 GB, free: 11.28 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.1669, allocations: 0.6208 MB / 0.8951 GB, free: 10.63 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.167, allocations: 65.94 kB / 0.8951 GB, free: 10.57 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.1671, allocations: 91.98 kB / 0.8952 GB, free: 10.48 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.1677, allocations: 0.8669 MB / 0.8961 GB, free: 9.523 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1678, allocations: 0 / 0.8961 GB, free: 9.523 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.1678, allocations: 43.94 kB / 0.8961 GB, free: 9.48 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.1678, allocations: 41.98 kB / 0.8961 GB, free: 9.438 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.1682, allocations: 293.7 kB / 0.8964 GB, free: 9.152 MB / 0.8699 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.002159/0.1704, allocations: 2.28 MB / 0.8986 GB, free: 6.805 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.1708, allocations: 367.2 kB / 0.899 GB, free: 6.441 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.1711, allocations: 215.3 kB / 0.8992 GB, free: 6.23 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.1712, allocations: 84.59 kB / 0.8993 GB, free: 6.148 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1713, allocations: 39.22 kB / 0.8993 GB, free: 6.098 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=70): time 1.904e-06/0.1713, allocations: 0 / 0.8993 GB, free: 6.098 MB / 0.8699 GB Notification: Performance of matching and sorting (n=70): time 0.0005628/0.1718, allocations: 417.8 kB / 0.8997 GB, free: 5.688 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.1718, allocations: 60.06 kB / 0.8998 GB, free: 5.617 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.1722, allocations: 0.5311 MB / 0.9003 GB, free: 5.074 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.1723, allocations: 37.7 kB / 0.9003 GB, free: 5.031 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1724, allocations: 378.4 kB / 0.9007 GB, free: 4.656 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1725, allocations: 257.7 kB / 0.9009 GB, free: 4.402 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1727, allocations: 138.5 kB / 0.9011 GB, free: 4.262 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1728, allocations: 398.5 kB / 0.9015 GB, free: 3.863 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1729, allocations: 88.78 kB / 0.9015 GB, free: 3.777 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.1732, allocations: 230.8 kB / 0.9018 GB, free: 3.488 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.1736, allocations: 414.6 kB / 0.9022 GB, free: 3.023 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1736, allocations: 7.938 kB / 0.9022 GB, free: 3.016 MB / 0.8699 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004138/0.174, allocations: 415.7 kB / 0.9026 GB, free: 2.602 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.174, allocations: 4 kB / 0.9026 GB, free: 2.598 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.174, allocations: 11.98 kB / 0.9026 GB, free: 2.586 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.174, allocations: 8 kB / 0.9026 GB, free: 2.578 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.1744, allocations: 188.3 kB / 0.9028 GB, free: 2.395 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1744, allocations: 11.94 kB / 0.9028 GB, free: 2.383 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.1747, allocations: 63.55 kB / 0.9028 GB, free: 2.32 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.1747, allocations: 23.94 kB / 0.9029 GB, free: 2.297 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 94 * 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.0001462/0.1749, allocations: 148.5 kB / 0.903 GB, free: 2.141 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.175, allocations: 79.86 kB / 0.9031 GB, free: 2.062 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.1754, allocations: 401.3 kB / 0.9035 GB, free: 1.656 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1754, allocations: 8 kB / 0.9035 GB, free: 1.648 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1754, allocations: 0 / 0.9035 GB, free: 1.648 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002818/0.1757, allocations: 417.2 kB / 0.9039 GB, free: 1.191 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008736/0.1766, allocations: 0.8707 MB / 0.9047 GB, free: 304 kB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1766, allocations: 4 kB / 0.9047 GB, free: 300 kB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.1771, allocations: 218.6 kB / 0.9049 GB, free: 80 kB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.1775, allocations: 123.2 kB / 0.905 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1775, allocations: 8 kB / 0.905 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.1775, allocations: 16 kB / 0.9051 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1775, allocations: 8 kB / 0.9051 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1775, allocations: 0 / 0.9051 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1781, allocations: 0.5636 MB / 0.9056 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.1781, allocations: 16 kB / 0.9056 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.1784, allocations: 21.67 kB / 0.9057 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.1785, allocations: 48.55 kB / 0.9057 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.1785, allocations: 16 kB / 0.9057 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001619/0.1786, allocations: 264.5 kB / 0.906 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1786, allocations: 0 / 0.906 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004208/0.1791, allocations: 343.3 kB / 0.9063 GB, free: 14.65 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.0001823/0.1792, allocations: 136.2 kB / 0.9064 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.1796, allocations: 341 kB / 0.9068 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/0.1796, allocations: 15.98 kB / 0.9068 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1798, allocations: 223.1 kB / 0.907 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.1816, allocations: 3.195 MB / 0.9101 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.1868, allocations: 1.746 MB / 0.9118 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.1869, allocations: 233.4 kB / 0.912 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003688/0.1873, allocations: 151.4 kB / 0.9122 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006348/0.1879, allocations: 375 kB / 0.9125 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.1879, allocations: 0 / 0.9125 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of Templates: time 0.02087/0.2088, allocations: 20.55 MB / 0.9326 GB, free: 3.516 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.165244645439088]