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.001717/0.001717, allocations: 103.6 kB / 16.41 MB, free: 6.508 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.001759/0.001759, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 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.58/2.58, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 64.12 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.016, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2394/1.256, allocations: 202 MB / 1.365 GB, free: 9.098 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.012/1.268, allocations: 7.388 MB / 1.372 GB, free: 1.695 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/1.27, allocations: 39.81 kB / 1.372 GB, free: 1.656 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/1.272, allocations: 0.7265 MB / 1.373 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00664/1.278, allocations: 2.479 MB / 1.375 GB, free: 14.44 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/1.282, allocations: 1.251 MB / 1.376 GB, free: 13.19 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004366/1.286, allocations: 2.911 MB / 1.379 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/1.288, allocations: 0.9547 MB / 1.38 GB, free: 9.289 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/1.29, allocations: 1.055 MB / 1.381 GB, free: 8.23 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/1.292, allocations: 0.9613 MB / 1.382 GB, free: 7.273 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/1.292, allocations: 116 kB / 1.382 GB, free: 7.16 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/1.296, allocations: 2.135 MB / 1.384 GB, free: 5.02 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005056/1.297, allocations: 446.7 kB / 1.385 GB, free: 4.582 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008434/1.298, allocations: 0.6689 MB / 1.385 GB, free: 3.91 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004151/1.302, allocations: 2.404 MB / 1.388 GB, free: 1.5 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.302, allocations: 0 / 1.388 GB, free: 1.5 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.493e-06/1.302, allocations: 0 / 1.388 GB, free: 1.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.485e-05/1.302, allocations: 4 kB / 1.388 GB, free: 1.496 MB / 1.107 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.003393/1.305, allocations: 1.62 MB / 1.389 GB, free: 15.82 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.305, allocations: 12.03 kB / 1.389 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/1.308, allocations: 378.1 kB / 1.389 GB, free: 15.44 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/1.309, allocations: 0.8474 MB / 1.39 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/1.309, allocations: 65.88 kB / 1.39 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.31, allocations: 87.98 kB / 1.39 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/1.311, allocations: 1.042 MB / 1.391 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.311, allocations: 3.906 kB / 1.391 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/1.311, allocations: 43.98 kB / 1.392 GB, free: 13.28 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.415e-05/1.312, allocations: 45.98 kB / 1.392 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.313, allocations: 0.8783 MB / 1.392 GB, free: 12.36 MB / 1.123 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.005192/1.318, allocations: 4.299 MB / 1.397 GB, free: 7.699 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.319, allocations: 0.6935 MB / 1.397 GB, free: 6.996 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/1.32, allocations: 463 kB / 1.398 GB, free: 6.543 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/1.321, allocations: 0.6732 MB / 1.398 GB, free: 5.723 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.321, allocations: 43.12 kB / 1.398 GB, free: 5.672 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 3.086e-06/1.321, allocations: 4 kB / 1.398 GB, free: 5.668 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.002015/1.323, allocations: 0.99 MB / 1.399 GB, free: 4.676 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.323, allocations: 59.91 kB / 1.399 GB, free: 4.605 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/1.324, allocations: 0.6373 MB / 1.4 GB, free: 3.961 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/1.324, allocations: 41.7 kB / 1.4 GB, free: 3.914 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/1.324, allocations: 428.1 kB / 1.401 GB, free: 3.488 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/1.325, allocations: 248.3 kB / 1.401 GB, free: 3.242 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.325, allocations: 122.2 kB / 1.401 GB, free: 3.117 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002044/1.325, allocations: 390.6 kB / 1.401 GB, free: 2.727 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/1.325, allocations: 277.2 kB / 1.402 GB, free: 2.457 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/1.326, allocations: 357 kB / 1.402 GB, free: 2.086 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.327, allocations: 0.6587 MB / 1.402 GB, free: 1.406 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.327, allocations: 4 kB / 1.403 GB, free: 1.402 MB / 1.123 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001326/1.328, allocations: 0.793 MB / 1.403 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.328, allocations: 10.34 kB / 1.403 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.328, allocations: 4 kB / 1.403 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.328, allocations: 4 kB / 1.403 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/1.329, allocations: 139.8 kB / 1.403 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/1.329, allocations: 15.92 kB / 1.403 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/1.33, allocations: 63.55 kB / 1.404 GB, free: 380 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/1.33, allocations: 20 kB / 1.404 GB, free: 360 kB / 1.123 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.0004481/1.33, allocations: 281.6 kB / 1.404 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.331, allocations: 95.12 kB / 1.404 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/1.332, allocations: 0.792 MB / 1.405 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.332, allocations: 8 kB / 1.405 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.332, allocations: 3.938 kB / 1.405 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/1.333, allocations: 0.8114 MB / 1.405 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/1.336, allocations: 1.861 MB / 1.407 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.336, allocations: 0 / 1.407 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/1.337, allocations: 171.8 kB / 1.407 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/1.337, allocations: 4 kB / 1.407 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/1.337, allocations: 15.98 kB / 1.407 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/1.337, allocations: 4 kB / 1.407 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.337, allocations: 0 / 1.407 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/1.339, allocations: 1.191 MB / 1.409 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/1.339, allocations: 244 kB / 1.409 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.339, allocations: 19.98 kB / 1.409 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/1.34, allocations: 21.03 kB / 1.409 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.34, allocations: 44.5 kB / 1.409 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/1.34, allocations: 23.98 kB / 1.409 GB, free: 10.61 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005571/1.341, allocations: 459 kB / 1.409 GB, free: 10.17 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.341, allocations: 4 kB / 1.409 GB, free: 10.16 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009093/1.342, allocations: 335.2 kB / 1.41 GB, free: 9.836 MB / 1.139 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.0003521/1.342, allocations: 199.1 kB / 1.41 GB, free: 9.633 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.343, allocations: 0.6718 MB / 1.411 GB, free: 8.957 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.343, allocations: 4 kB / 1.411 GB, free: 8.953 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005471/1.344, allocations: 375.3 kB / 1.411 GB, free: 8.586 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.346, allocations: 0.5515 MB / 1.411 GB, free: 8.047 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/1.35, allocations: 2.196 MB / 1.414 GB, free: 5.812 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/1.35, allocations: 1.089 MB / 1.415 GB, free: 4.695 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/1.351, allocations: 75.44 kB / 1.415 GB, free: 4.621 MB / 1.139 GB Notification: Performance of SimCode: time 8.02e-07/1.351, allocations: 0 / 1.415 GB, free: 4.621 MB / 1.139 GB Notification: Performance of Templates: time 0.02361/1.374, allocations: 15.33 MB / 1.43 GB, free: 5.418 MB / 1.154 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