Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00111/0.00111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001786/0.002895, allocations: 440 kB / 10.41 MB, free: 284 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.001092/0.001092, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002557, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.868/0.868, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07397/0.9419, 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 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.235/2.235, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2058/2.441, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.007e-05, allocations: 10.31 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1201/0.1201, allocations: 151.2 MB / 0.9666 GB, free: 10.68 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00501/0.1251, allocations: 4.454 MB / 0.971 GB, free: 6.219 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.1255, allocations: 51.62 kB / 0.971 GB, free: 6.168 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.1261, allocations: 313.8 kB / 0.9713 GB, free: 5.859 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1276, allocations: 1.43 MB / 0.9727 GB, free: 4.422 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.1287, allocations: 0.7249 MB / 0.9734 GB, free: 3.695 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.1305, allocations: 2.98 MB / 0.9763 GB, free: 0.707 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009216/0.1315, allocations: 0.8016 MB / 0.9771 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.1329, allocations: 1.66 MB / 0.9787 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007337/0.1337, allocations: 0.8452 MB / 0.9795 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1338, allocations: 112 kB / 0.9797 GB, free: 13.31 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.1343, allocations: 474.9 kB / 0.9801 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004982/0.1348, allocations: 430.9 kB / 0.9805 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.1352, allocations: 411.3 kB / 0.9809 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009311/0.1361, allocations: 1.133 MB / 0.982 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.1361, allocations: 0 / 0.982 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1361, allocations: 0 / 0.982 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.1361, allocations: 0 / 0.982 GB, free: 10.89 MB / 0.9636 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.001653/0.1378, allocations: 1.754 MB / 0.9837 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.1378, allocations: 8.031 kB / 0.9837 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.1393, allocations: 0.593 MB / 0.9843 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.14, allocations: 0.6324 MB / 0.9849 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.14, allocations: 62 kB / 0.985 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.1401, allocations: 87.95 kB / 0.9851 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.1409, allocations: 0.9137 MB / 0.986 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1409, allocations: 7.984 kB / 0.986 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.141, allocations: 36 kB / 0.986 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.141, allocations: 41.98 kB / 0.9861 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.1414, allocations: 337.7 kB / 0.9864 GB, free: 6.258 MB / 0.9636 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.002094/0.1435, allocations: 2.327 MB / 0.9886 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.144, allocations: 360.8 kB / 0.989 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.1443, allocations: 231.3 kB / 0.9892 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1443, allocations: 12.66 kB / 0.9892 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1443, allocations: 39.22 kB / 0.9893 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 1.683e-06/0.1443, allocations: 0 / 0.9893 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.0006291/0.145, allocations: 453.8 kB / 0.9897 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.145, allocations: 60.06 kB / 0.9897 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.1453, allocations: 0.5389 MB / 0.9903 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.1453, allocations: 45.69 kB / 0.9903 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.1456, allocations: 370.4 kB / 0.9907 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.1457, allocations: 265.7 kB / 0.9909 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1459, allocations: 138.4 kB / 0.9911 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.146, allocations: 394.6 kB / 0.9914 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1461, allocations: 92.8 kB / 0.9915 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1463, allocations: 254.8 kB / 0.9918 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.1467, allocations: 422.6 kB / 0.9922 GB, free: 56 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1467, allocations: 0 / 0.9922 GB, free: 56 kB / 0.9636 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004884/0.1472, allocations: 443.6 kB / 0.9926 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1472, allocations: 8 kB / 0.9926 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1472, allocations: 8.547 kB / 0.9926 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1472, allocations: 8 kB / 0.9926 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.1478, allocations: 211.8 kB / 0.9928 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1478, allocations: 11.94 kB / 0.9928 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.1481, allocations: 75.53 kB / 0.9929 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.1482, allocations: 20 kB / 0.9929 GB, free: 15.28 MB / 0.9792 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.0001641/0.1483, allocations: 160.4 kB / 0.9931 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1484, allocations: 79.91 kB / 0.9931 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.1485, allocations: 103.7 kB / 0.9932 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1485, allocations: 8 kB / 0.9933 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1485, allocations: 0 / 0.9933 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000349/0.1489, allocations: 441.2 kB / 0.9937 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.1501, allocations: 0.9176 MB / 0.9946 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1501, allocations: 0 / 0.9946 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.1508, allocations: 247.2 kB / 0.9948 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.151, allocations: 127.2 kB / 0.9949 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.151, allocations: 8 kB / 0.9949 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.151, allocations: 15.98 kB / 0.995 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.151, allocations: 8 kB / 0.995 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.151, allocations: 0 / 0.995 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.1517, allocations: 0.6104 MB / 0.9956 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.1517, allocations: 19.98 kB / 0.9956 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.152, allocations: 35.91 kB / 0.9956 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.1521, allocations: 48.56 kB / 0.9957 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.1521, allocations: 19.98 kB / 0.9957 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001767/0.1523, allocations: 256.6 kB / 0.9959 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1523, allocations: 3.938 kB / 0.9959 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004448/0.1528, allocations: 339.5 kB / 0.9962 GB, free: 11.77 MB / 0.9792 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.0001506/0.1529, allocations: 112.3 kB / 0.9964 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.1533, allocations: 364.8 kB / 0.9967 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/0.1534, allocations: 13.69 kB / 0.9967 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.1536, allocations: 239 kB / 0.9969 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.1555, allocations: 3.29 MB / 1 GB, free: 7.141 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.1609, allocations: 1.814 MB / 1.002 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.1611, allocations: 233.5 kB / 1.002 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004308/0.1615, allocations: 159.5 kB / 1.002 GB, free: 4.871 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/0.1622, allocations: 379.1 kB / 1.003 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of SimCode: time 6.81e-07/0.1622, allocations: 0 / 1.003 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of Templates: time 0.02159/0.1838, allocations: 21.85 MB / 1.024 GB, free: 15.14 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation/Buildings_latest_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.24513141810894]