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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008098/0.0008102, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 182.5 kB / 16.92 MB, free: 6.922 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.596/1.596, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.98/2.98, allocations: 437.8 MB / 0.7128 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005401, allocations: 8 kB / 0.8735 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.08, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.283/1.363, allocations: 197.1 MB / 1.216 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01331/1.376, allocations: 7.408 MB / 1.223 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/1.379, allocations: 31.81 kB / 1.223 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/1.381, allocations: 0.6104 MB / 1.224 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008081/1.389, allocations: 2.257 MB / 1.226 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004284/1.393, allocations: 1.127 MB / 1.227 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00839/1.402, allocations: 4.155 MB / 1.231 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/1.405, allocations: 0.7818 MB / 1.232 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/1.408, allocations: 0.8557 MB / 1.233 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004784/1.413, allocations: 0.9662 MB / 1.234 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006466/1.414, allocations: 48 kB / 1.234 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008034/1.422, allocations: 2.47 MB / 1.236 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00121/1.423, allocations: 378.8 kB / 1.237 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002645/1.426, allocations: 0.6159 MB / 1.237 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005388/1.431, allocations: 1.761 MB / 1.239 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/1.431, allocations: 0 / 1.239 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.098e-06/1.431, allocations: 3.938 kB / 1.239 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.543e-05/1.432, allocations: 0 / 1.239 GB, free: 2.57 MB / 0.9825 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.005171/1.437, allocations: 1.398 MB / 1.24 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.08e-05/1.437, allocations: 8.031 kB / 1.24 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/1.44, allocations: 378.2 kB / 1.241 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8789/2.319, allocations: 0.8169 MB / 1.242 GB, free: 73.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/2.319, allocations: 63.72 kB / 1.242 GB, free: 73.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/2.319, allocations: 87.56 kB / 1.242 GB, free: 73.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/2.322, allocations: 1.042 MB / 1.243 GB, free: 73.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/2.322, allocations: 5.094 kB / 1.243 GB, free: 73.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/2.322, allocations: 36.97 kB / 1.243 GB, free: 73.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/2.322, allocations: 49.28 kB / 1.243 GB, free: 73.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/2.325, allocations: 0.8825 MB / 1.244 GB, free: 73.76 MB / 0.9825 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.007645/2.332, allocations: 4.291 MB / 1.248 GB, free: 71.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/2.334, allocations: 0.7008 MB / 1.249 GB, free: 71.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009732/2.335, allocations: 451.7 kB / 1.249 GB, free: 71.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/2.336, allocations: 0.6764 MB / 1.25 GB, free: 70.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/2.336, allocations: 40.81 kB / 1.25 GB, free: 70.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 3.206e-06/2.336, allocations: 0 / 1.25 GB, free: 70.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.002706/2.339, allocations: 1.009 MB / 1.251 GB, free: 70.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/2.339, allocations: 58.61 kB / 1.251 GB, free: 70.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/2.34, allocations: 0.633 MB / 1.251 GB, free: 70.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/2.34, allocations: 44.08 kB / 1.251 GB, free: 70.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/2.34, allocations: 432.6 kB / 1.252 GB, free: 70.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/2.341, allocations: 250.9 kB / 1.252 GB, free: 69.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/2.341, allocations: 59.75 kB / 1.252 GB, free: 69.85 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001988/2.341, allocations: 387.4 kB / 1.252 GB, free: 69.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/2.342, allocations: 281 kB / 1.253 GB, free: 69.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/2.342, allocations: 360.5 kB / 1.253 GB, free: 69.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/2.344, allocations: 0.6633 MB / 1.254 GB, free: 69.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/2.344, allocations: 1.344 kB / 1.254 GB, free: 69.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001936/2.346, allocations: 0.7963 MB / 1.255 GB, free: 69.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/2.346, allocations: 10.23 kB / 1.255 GB, free: 69.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/2.346, allocations: 1.75 kB / 1.255 GB, free: 69.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/2.346, allocations: 4.625 kB / 1.255 GB, free: 69.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/2.347, allocations: 143.6 kB / 1.255 GB, free: 69.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/2.347, allocations: 5.391 kB / 1.255 GB, free: 69.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/2.348, allocations: 119.1 kB / 1.255 GB, free: 69.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/2.348, allocations: 24.61 kB / 1.255 GB, free: 69.29 MB / 0.9825 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.0007416/2.349, allocations: 282.1 kB / 1.255 GB, free: 69.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/2.349, allocations: 90.2 kB / 1.255 GB, free: 69.13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/2.351, allocations: 0.7958 MB / 1.256 GB, free: 69.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/2.351, allocations: 7.031 kB / 1.256 GB, free: 69.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/2.351, allocations: 2.891 kB / 1.256 GB, free: 69.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/2.353, allocations: 0.8216 MB / 1.257 GB, free: 68.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/2.357, allocations: 1.864 MB / 1.259 GB, free: 68.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/2.357, allocations: 7 kB / 1.259 GB, free: 68.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/2.358, allocations: 163.1 kB / 1.259 GB, free: 68.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/2.358, allocations: 3.812 kB / 1.259 GB, free: 68.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/2.358, allocations: 19.22 kB / 1.259 GB, free: 68.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/2.358, allocations: 4.75 kB / 1.259 GB, free: 68.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/2.358, allocations: 0 / 1.259 GB, free: 68.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/2.36, allocations: 1.204 MB / 1.26 GB, free: 68.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/2.361, allocations: 247.3 kB / 1.26 GB, free: 68.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/2.361, allocations: 15.22 kB / 1.26 GB, free: 68.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/2.362, allocations: 76.06 kB / 1.26 GB, free: 68.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/2.362, allocations: 50.83 kB / 1.26 GB, free: 68.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/2.362, allocations: 21.47 kB / 1.26 GB, free: 68.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007988/2.363, allocations: 456.1 kB / 1.261 GB, free: 68.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/2.363, allocations: 0 / 1.261 GB, free: 68.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001359/2.364, allocations: 337.9 kB / 1.261 GB, free: 67.98 MB / 0.9825 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.0004616/2.365, allocations: 196.3 kB / 1.261 GB, free: 67.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001575/2.366, allocations: 0.6821 MB / 1.262 GB, free: 67.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/2.366, allocations: 0 / 1.262 GB, free: 67.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006836/2.367, allocations: 376.7 kB / 1.262 GB, free: 67.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/2.37, allocations: 0.5228 MB / 1.263 GB, free: 67.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/2.375, allocations: 2.776 MB / 1.266 GB, free: 66.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/2.376, allocations: 1.088 MB / 1.267 GB, free: 65.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/2.376, allocations: 79.38 kB / 1.267 GB, free: 65.67 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/2.376, allocations: 2.812 kB / 1.267 GB, free: 65.67 MB / 0.9825 GB Notification: Performance of Templates: time 0.03072/2.407, allocations: 15.08 MB / 1.281 GB, free: 64.44 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