Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007479/0.007479, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 193.5 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.622/2.622, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2778/1.361, allocations: 199.8 MB / 1.145 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01446/1.376, allocations: 7.479 MB / 1.152 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/1.378, allocations: 35.81 kB / 1.152 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/1.381, allocations: 0.6065 MB / 1.153 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008004/1.389, allocations: 2.261 MB / 1.155 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004036/1.393, allocations: 1.117 MB / 1.156 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00614/1.399, allocations: 4.172 MB / 1.16 GB, free: 9.93 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/1.401, allocations: 0.8052 MB / 1.161 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/1.403, allocations: 0.8791 MB / 1.162 GB, free: 8.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/1.406, allocations: 1.005 MB / 1.163 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/1.406, allocations: 63.94 kB / 1.163 GB, free: 7.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/1.412, allocations: 2.486 MB / 1.165 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006541/1.412, allocations: 402.8 kB / 1.165 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/1.413, allocations: 0.6103 MB / 1.166 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/1.416, allocations: 1.785 MB / 1.168 GB, free: 1.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.416, allocations: 3.938 kB / 1.168 GB, free: 1.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/1.416, allocations: 0 / 1.168 GB, free: 1.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.909e-05/1.416, allocations: 0 / 1.168 GB, free: 1.859 MB / 0.92 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.003858/1.42, allocations: 1.62 MB / 1.169 GB, free: 192 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.42, allocations: 11.97 kB / 1.169 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/1.423, allocations: 378.3 kB / 1.17 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/1.425, allocations: 0.816 MB / 1.171 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/1.425, allocations: 62 kB / 1.171 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/1.425, allocations: 84 kB / 1.171 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/1.427, allocations: 1.046 MB / 1.172 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/1.427, allocations: 7.938 kB / 1.172 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/1.427, allocations: 32 kB / 1.172 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/1.427, allocations: 45.98 kB / 1.172 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/1.429, allocations: 0.8822 MB / 1.173 GB, free: 12.75 MB / 0.9356 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.005907/1.435, allocations: 4.276 MB / 1.177 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/1.436, allocations: 0.7027 MB / 1.178 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/1.437, allocations: 456.8 kB / 1.178 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.437, allocations: 0.6771 MB / 1.179 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.437, allocations: 43.06 kB / 1.179 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.334e-06/1.437, allocations: 0 / 1.179 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.002015/1.439, allocations: 0.9901 MB / 1.18 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.439, allocations: 59.97 kB / 1.18 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000862/1.44, allocations: 0.6372 MB / 1.18 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/1.44, allocations: 37.7 kB / 1.18 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/1.441, allocations: 436.1 kB / 1.181 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/1.441, allocations: 252.3 kB / 1.181 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/1.441, allocations: 110.3 kB / 1.181 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.441, allocations: 394.7 kB / 1.181 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/1.442, allocations: 277.2 kB / 1.182 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/1.442, allocations: 365 kB / 1.182 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/1.443, allocations: 0.6548 MB / 1.183 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.443, allocations: 0 / 1.183 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001391/1.445, allocations: 0.8009 MB / 1.184 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.445, allocations: 8.031 kB / 1.184 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.445, allocations: 4 kB / 1.184 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.445, allocations: 4 kB / 1.184 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/1.446, allocations: 143.8 kB / 1.184 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/1.446, allocations: 7.984 kB / 1.184 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.447, allocations: 107.4 kB / 1.184 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/1.447, allocations: 27.94 kB / 1.184 GB, free: 0.7148 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0005072/1.447, allocations: 293.5 kB / 1.184 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/1.447, allocations: 83.06 kB / 1.184 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/1.449, allocations: 0.7959 MB / 1.185 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.449, allocations: 4 kB / 1.185 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.449, allocations: 8 kB / 1.185 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/1.45, allocations: 0.8191 MB / 1.186 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/1.453, allocations: 1.856 MB / 1.188 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.453, allocations: 3.938 kB / 1.188 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000845/1.454, allocations: 163.8 kB / 1.188 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.454, allocations: 7.922 kB / 1.188 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/1.454, allocations: 20 kB / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.454, allocations: 0 / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.454, allocations: 7.984 kB / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/1.456, allocations: 1.193 MB / 1.189 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/1.456, allocations: 247.9 kB / 1.189 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.456, allocations: 12 kB / 1.189 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/1.457, allocations: 79.78 kB / 1.189 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.457, allocations: 40.5 kB / 1.189 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/1.457, allocations: 23.98 kB / 1.189 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000578/1.458, allocations: 455 kB / 1.19 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.458, allocations: 0 / 1.19 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009251/1.459, allocations: 335.2 kB / 1.19 GB, free: 10.14 MB / 0.9512 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.0003656/1.459, allocations: 211 kB / 1.19 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001147/1.46, allocations: 0.6718 MB / 1.191 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.46, allocations: 4 kB / 1.191 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005321/1.461, allocations: 371 kB / 1.191 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.463, allocations: 0.519 MB / 1.192 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/1.467, allocations: 2.612 MB / 1.194 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/1.468, allocations: 1.092 MB / 1.195 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.468, allocations: 79.44 kB / 1.195 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of SimCode: time 1.373e-06/1.468, allocations: 0 / 1.195 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of Templates: time 0.02795/1.496, allocations: 15.23 MB / 1.21 GB, free: 5.422 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volA.T,volOut.T,oriOutBot.v,oriOutTop.v Variables in the result:oriOutBot.v,oriOutTop.v,time,volA.T,volOut.T