Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001501/0.001501, allocations: 103.8 kB / 16.27 MB, free: 5.984 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.001525/0.001525, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.534/1.534, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 64.28 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4383, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.017/1.455, allocations: 202 MB / 1.215 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01475/1.47, allocations: 7.38 MB / 1.222 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/1.473, allocations: 36.66 kB / 1.222 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/1.476, allocations: 0.6877 MB / 1.223 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008724/1.484, allocations: 2.413 MB / 1.225 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/1.489, allocations: 1.232 MB / 1.227 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005772/1.494, allocations: 2.903 MB / 1.23 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/1.497, allocations: 0.9622 MB / 1.23 GB, free: 8 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/1.499, allocations: 1.016 MB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/1.503, allocations: 0.9517 MB / 1.232 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003388/1.503, allocations: 115.9 kB / 1.232 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006345/1.509, allocations: 2.124 MB / 1.235 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009159/1.51, allocations: 450.8 kB / 1.235 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/1.512, allocations: 0.6728 MB / 1.236 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006623/1.518, allocations: 2.384 MB / 1.238 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/1.518, allocations: 0 / 1.238 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.565e-06/1.518, allocations: 0 / 1.238 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.508e-05/1.518, allocations: 0 / 1.238 GB, free: 8.289 MB / 0.9356 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.004335/1.523, allocations: 1.621 MB / 1.24 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.523, allocations: 11.97 kB / 1.24 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/1.525, allocations: 374.3 kB / 1.24 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.527, allocations: 0.8161 MB / 1.241 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/1.527, allocations: 69.88 kB / 1.241 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.527, allocations: 84 kB / 1.241 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.529, allocations: 1.042 MB / 1.242 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/1.529, allocations: 4 kB / 1.242 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/1.53, allocations: 32 kB / 1.242 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.186e-05/1.53, allocations: 45.98 kB / 1.242 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.531, allocations: 0.8861 MB / 1.243 GB, free: 3.184 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.006329/1.538, allocations: 4.327 MB / 1.247 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/1.539, allocations: 0.702 MB / 1.248 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/1.54, allocations: 465.3 kB / 1.248 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/1.541, allocations: 0.6732 MB / 1.249 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.541, allocations: 39.12 kB / 1.249 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 3.787e-06/1.541, allocations: 4 kB / 1.249 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.002189/1.543, allocations: 0.9861 MB / 1.25 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/1.543, allocations: 59.97 kB / 1.25 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009644/1.544, allocations: 0.641 MB / 1.251 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/1.544, allocations: 37.7 kB / 1.251 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/1.545, allocations: 432.1 kB / 1.251 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/1.545, allocations: 252.3 kB / 1.251 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.545, allocations: 118.3 kB / 1.251 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002341/1.545, allocations: 394.7 kB / 1.252 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/1.546, allocations: 273.2 kB / 1.252 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/1.546, allocations: 357 kB / 1.252 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/1.548, allocations: 0.6625 MB / 1.253 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.548, allocations: 0 / 1.253 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001521/1.549, allocations: 0.793 MB / 1.254 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.549, allocations: 7.984 kB / 1.254 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.549, allocations: 0 / 1.254 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.549, allocations: 8 kB / 1.254 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/1.55, allocations: 143.8 kB / 1.254 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.55, allocations: 4 kB / 1.254 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/1.551, allocations: 55.61 kB / 1.254 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/1.551, allocations: 20 kB / 1.254 GB, free: 7.156 MB / 0.9512 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.0005722/1.551, allocations: 289.6 kB / 1.254 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.551, allocations: 87.05 kB / 1.254 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/1.553, allocations: 0.797 MB / 1.255 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.553, allocations: 7.984 kB / 1.255 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.553, allocations: 0 / 1.255 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/1.554, allocations: 0.8268 MB / 1.256 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/1.557, allocations: 1.854 MB / 1.258 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/1.557, allocations: 0 / 1.258 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/1.558, allocations: 171.8 kB / 1.258 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.558, allocations: 3.938 kB / 1.258 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/1.558, allocations: 20 kB / 1.258 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.558, allocations: 3.984 kB / 1.258 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.558, allocations: 0 / 1.258 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/1.56, allocations: 1.19 MB / 1.259 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/1.561, allocations: 251.8 kB / 1.259 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.561, allocations: 12 kB / 1.259 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/1.562, allocations: 22.36 kB / 1.259 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.562, allocations: 44.5 kB / 1.259 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/1.562, allocations: 27.92 kB / 1.259 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000665/1.563, allocations: 455 kB / 1.26 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/1.563, allocations: 0 / 1.26 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001007/1.564, allocations: 335.2 kB / 1.26 GB, free: 0.6445 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.0004142/1.564, allocations: 200.8 kB / 1.26 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001754/1.566, allocations: 0.8202 MB / 1.261 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.566, allocations: 384 / 1.261 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005898/1.566, allocations: 375 kB / 1.262 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.569, allocations: 0.5475 MB / 1.262 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/1.573, allocations: 2.235 MB / 1.264 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/1.574, allocations: 1.085 MB / 1.265 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/1.574, allocations: 79.44 kB / 1.265 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of SimCode: time 8.51e-07/1.574, allocations: 0 / 1.265 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.02987/1.604, allocations: 15.23 MB / 1.28 GB, free: 12.14 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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