Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.0009165/0.0009165, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001426/0.001426, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 18.57 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.8975/0.8975, allocations: 177.2 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.795/1.795, allocations: 377.9 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.546e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1401/0.1401, allocations: 161 MB / 0.9688 GB, free: 188 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1502, allocations: 7.472 MB / 0.9761 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.1518, allocations: 107.2 kB / 0.9762 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.1529, allocations: 0.6516 MB / 0.9768 GB, free: 7.941 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.1566, allocations: 2.878 MB / 0.9796 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.1589, allocations: 1.688 MB / 0.9813 GB, free: 3.355 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005901/0.1648, allocations: 7.796 MB / 0.9889 GB, free: 11.54 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.167, allocations: 2.045 MB / 0.9909 GB, free: 9.43 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.1706, allocations: 3.465 MB / 0.9942 GB, free: 5.957 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.1731, allocations: 2.577 MB / 0.9968 GB, free: 3.41 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.1734, allocations: 328 kB / 0.9971 GB, free: 3.09 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1745, allocations: 0.7994 MB / 0.9979 GB, free: 2.289 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008708/0.1754, allocations: 1.445 MB / 0.9993 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.1765, allocations: 1.368 MB / 1.001 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.1789, allocations: 3.224 MB / 1.004 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1789, allocations: 0 / 1.004 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1789, allocations: 4 kB / 1.004 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.1789, allocations: 0 / 1.004 GB, free: 12.23 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.004364/0.1833, allocations: 3.804 MB / 1.007 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1833, allocations: 12.02 kB / 1.007 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/0.1863, allocations: 1.25 MB / 1.009 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.1881, allocations: 1.801 MB / 1.01 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.795e-05/0.1882, allocations: 193.1 kB / 1.011 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.1885, allocations: 271.9 kB / 1.011 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.1912, allocations: 2.63 MB / 1.013 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.1912, allocations: 7.938 kB / 1.013 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.1914, allocations: 112 kB / 1.014 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.1915, allocations: 161.2 kB / 1.014 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.1938, allocations: 1.697 MB / 1.015 GB, free: 15.95 MB / 0.9792 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.007111/0.2009, allocations: 7.912 MB / 1.023 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.2032, allocations: 2.145 MB / 1.025 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.2047, allocations: 1.009 MB / 1.026 GB, free: 4.719 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/0.2052, allocations: 250.6 kB / 1.026 GB, free: 4.473 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.2052, allocations: 75.5 kB / 1.027 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=278): time 3.557e-06/0.2052, allocations: 0 / 1.027 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278): time 0.00292/0.2082, allocations: 2.208 MB / 1.029 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2082, allocations: 81.59 kB / 1.029 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/0.2092, allocations: 1.222 MB / 1.03 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.2093, allocations: 73.7 kB / 1.03 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004983/0.2098, allocations: 1.106 MB / 1.031 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.2103, allocations: 1.007 MB / 1.032 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/0.2107, allocations: 443.9 kB / 1.032 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.2108, allocations: 488.5 kB / 1.033 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008612/0.2117, allocations: 488.9 kB / 1.033 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009083/0.2126, allocations: 0.8318 MB / 1.034 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.2143, allocations: 1.46 MB / 1.036 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.2143, allocations: 4 kB / 1.036 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002308/0.2166, allocations: 1.925 MB / 1.038 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2166, allocations: 8 kB / 1.038 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2166, allocations: 4 kB / 1.038 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.2167, allocations: 16 kB / 1.038 GB, free: 8.699 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.2179, allocations: 0.5383 MB / 1.038 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.2179, allocations: 20.16 kB / 1.038 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.2187, allocations: 194.5 kB / 1.038 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.2188, allocations: 84 kB / 1.038 GB, free: 7.867 MB / 0.9948 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 (332): * Single equations (assignments): 332 * 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.000396/0.2192, allocations: 300 kB / 1.039 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.2195, allocations: 326.5 kB / 1.039 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.2221, allocations: 1.917 MB / 1.041 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.2221, allocations: 28 kB / 1.041 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2221, allocations: 4 kB / 1.041 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/0.2238, allocations: 1.482 MB / 1.042 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3719/0.5958, allocations: 3.947 MB / 1.046 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.5958, allocations: 0 / 1.046 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.5974, allocations: 0.541 MB / 1.047 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/0.5974, allocations: 8.562 kB / 1.047 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.5975, allocations: 60.36 kB / 1.047 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.5975, allocations: 14.88 kB / 1.047 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5975, allocations: 1.875 kB / 1.047 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/0.6006, allocations: 2.58 MB / 1.049 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007721/0.6014, allocations: 0.5165 MB / 1.05 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.6016, allocations: 52.25 kB / 1.05 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.6024, allocations: 70.64 kB / 1.05 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.6026, allocations: 170.9 kB / 1.05 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-05/0.6027, allocations: 80.72 kB / 1.05 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006464/0.6033, allocations: 0.7355 MB / 1.051 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6033, allocations: 0 / 1.051 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001361/0.6047, allocations: 0.9998 MB / 1.052 GB, free: 129.4 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.000343/0.605, allocations: 242.3 kB / 1.052 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.6069, allocations: 1.569 MB / 1.054 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.6069, allocations: 3.969 kB / 1.054 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/0.6078, allocations: 0.8922 MB / 1.055 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.6105, allocations: 1.297 MB / 1.056 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.6157, allocations: 4.951 MB / 1.061 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.616, allocations: 0.6108 MB / 1.061 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00141/0.6175, allocations: 0.7251 MB / 1.062 GB, free: 127 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.618, allocations: 206.6 kB / 1.062 GB, free: 127 MB / 0.9948 GB Notification: Performance of SimCode: time 8.62e-07/0.618, allocations: 0 / 1.062 GB, free: 127 MB / 0.9948 GB Notification: Performance of Templates: time 0.04813/0.6661, allocations: 47.62 MB / 1.109 GB, free: 120.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.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: 6.487818638328463]