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.001371/0.001371, allocations: 91.92 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.002169/0.002169, allocations: 177 kB / 16.92 MB, free: 6.652 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.929/1.929, allocations: 223.3 MB / 241 MB, free: 5.309 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.649/2.649, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8565, allocations: 142.4 MB / 0.9557 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2326/1.089, allocations: 197.1 MB / 1.148 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01174/1.101, allocations: 7.417 MB / 1.155 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/1.102, allocations: 31.81 kB / 1.155 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/1.104, allocations: 0.5986 MB / 1.156 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005942/1.11, allocations: 2.261 MB / 1.158 GB, free: 15.24 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/1.113, allocations: 1.126 MB / 1.159 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005334/1.118, allocations: 4.168 MB / 1.163 GB, free: 9.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/1.12, allocations: 0.7779 MB / 1.164 GB, free: 9.137 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/1.122, allocations: 0.8519 MB / 1.165 GB, free: 8.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/1.124, allocations: 0.9683 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/1.124, allocations: 48 kB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/1.129, allocations: 2.486 MB / 1.168 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/1.13, allocations: 378.8 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/1.131, allocations: 0.6159 MB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/1.134, allocations: 1.75 MB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.134, allocations: 4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/1.134, allocations: 0 / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.134, allocations: 0 / 1.171 GB, free: 2.02 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.00301/1.137, allocations: 1.402 MB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.137, allocations: 12.03 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/1.139, allocations: 378.1 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/1.141, allocations: 0.8161 MB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/1.141, allocations: 62 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.141, allocations: 95.88 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.143, allocations: 1.046 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/1.143, allocations: 0 / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/1.143, allocations: 35.98 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/1.143, allocations: 45.98 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.144, allocations: 0.8861 MB / 1.176 GB, free: 13.12 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.004652/1.149, allocations: 4.284 MB / 1.18 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.15, allocations: 0.7065 MB / 1.181 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/1.151, allocations: 456.1 kB / 1.181 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/1.152, allocations: 0.681 MB / 1.182 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.152, allocations: 39.12 kB / 1.182 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/1.152, allocations: 0 / 1.182 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001881/1.154, allocations: 0.994 MB / 1.183 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/1.154, allocations: 67.91 kB / 1.183 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/1.154, allocations: 0.6334 MB / 1.183 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/1.154, allocations: 37.7 kB / 1.183 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/1.155, allocations: 428.1 kB / 1.184 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.155, allocations: 248.2 kB / 1.184 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/1.155, allocations: 69.67 kB / 1.184 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.155, allocations: 386.7 kB / 1.185 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/1.156, allocations: 285.1 kB / 1.185 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/1.156, allocations: 357.1 kB / 1.185 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.157, allocations: 0.6665 MB / 1.186 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.157, allocations: 0 / 1.186 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001256/1.159, allocations: 0.797 MB / 1.187 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.159, allocations: 4 kB / 1.187 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.159, allocations: 7.938 kB / 1.187 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.159, allocations: 4 kB / 1.187 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/1.159, allocations: 143.8 kB / 1.187 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.159, allocations: 4 kB / 1.187 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.16, allocations: 115.6 kB / 1.187 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/1.16, allocations: 27.92 kB / 1.187 GB, free: 1.109 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.0004528/1.161, allocations: 297.5 kB / 1.187 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/1.161, allocations: 79.06 kB / 1.187 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/1.162, allocations: 0.7998 MB / 1.188 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.162, allocations: 8 kB / 1.188 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.162, allocations: 0 / 1.188 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/1.163, allocations: 0.8269 MB / 1.189 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/1.166, allocations: 1.848 MB / 1.191 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.166, allocations: 3.938 kB / 1.191 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/1.167, allocations: 175.8 kB / 1.191 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.167, allocations: 0 / 1.191 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/1.167, allocations: 19.94 kB / 1.191 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.167, allocations: 0 / 1.191 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.167, allocations: 4 kB / 1.191 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/1.169, allocations: 1.213 MB / 1.192 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/1.169, allocations: 240 kB / 1.192 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.169, allocations: 16 kB / 1.192 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/1.17, allocations: 72.72 kB / 1.192 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.17, allocations: 44.5 kB / 1.192 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/1.17, allocations: 27.98 kB / 1.192 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005425/1.171, allocations: 451 kB / 1.193 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.171, allocations: 0 / 1.193 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009083/1.172, allocations: 343.2 kB / 1.193 GB, free: 10.52 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.0003743/1.172, allocations: 187.2 kB / 1.193 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00112/1.173, allocations: 0.6796 MB / 1.194 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.173, allocations: 0 / 1.194 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/1.174, allocations: 375 kB / 1.194 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.176, allocations: 0.53 MB / 1.195 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/1.18, allocations: 2.77 MB / 1.198 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/1.181, allocations: 1.092 MB / 1.199 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/1.181, allocations: 75.42 kB / 1.199 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.181, allocations: 3.938 kB / 1.199 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of Templates: time 0.0272/1.208, allocations: 15.09 MB / 1.213 GB, free: 5.777 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