Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009817/0.0009816, allocations: 97.78 kB / 16.02 MB, free: 76 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.001199/0.001199, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.531/1.531, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004463, allocations: 12.41 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 159.6 MB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.039/1.385, allocations: 197.1 MB / 1.252 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01252/1.398, allocations: 7.408 MB / 1.259 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/1.399, allocations: 30.53 kB / 1.259 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/1.401, allocations: 0.6123 MB / 1.26 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006859/1.408, allocations: 2.256 MB / 1.262 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/1.412, allocations: 1.13 MB / 1.263 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006567/1.418, allocations: 4.162 MB / 1.267 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.42, allocations: 0.7773 MB / 1.268 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/1.422, allocations: 0.8515 MB / 1.269 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/1.424, allocations: 0.9658 MB / 1.27 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/1.424, allocations: 50.69 kB / 1.27 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007132/1.431, allocations: 2.477 MB / 1.272 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007889/1.432, allocations: 386.1 kB / 1.272 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/1.434, allocations: 0.6098 MB / 1.273 GB, free: 18.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/1.438, allocations: 1.759 MB / 1.275 GB, free: 18.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.438, allocations: 1.828 kB / 1.275 GB, free: 18.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/1.438, allocations: 0 / 1.275 GB, free: 18.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.019e-05/1.438, allocations: 0 / 1.275 GB, free: 18.34 MB / 1.014 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.003973/1.442, allocations: 1.403 MB / 1.276 GB, free: 17.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/1.442, allocations: 9.781 kB / 1.276 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/1.445, allocations: 369.3 kB / 1.276 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/1.447, allocations: 0.82 MB / 1.277 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/1.447, allocations: 62.5 kB / 1.277 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/1.447, allocations: 88.08 kB / 1.277 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/1.449, allocations: 1.046 MB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/1.449, allocations: 2 kB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.45, allocations: 39.66 kB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.858e-05/1.45, allocations: 48.47 kB / 1.278 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/1.451, allocations: 0.8863 MB / 1.279 GB, free: 17 MB / 1.014 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.00592/1.457, allocations: 4.294 MB / 1.284 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.459, allocations: 0.6977 MB / 1.284 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/1.459, allocations: 454.9 kB / 1.285 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000718/1.46, allocations: 0.6796 MB / 1.285 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.46, allocations: 38.31 kB / 1.285 GB, free: 13.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.076e-06/1.46, allocations: 0 / 1.285 GB, free: 13.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002182/1.462, allocations: 1.004 MB / 1.286 GB, free: 13.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.462, allocations: 59.5 kB / 1.286 GB, free: 13.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/1.463, allocations: 0.6374 MB / 1.287 GB, free: 13.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/1.463, allocations: 41.27 kB / 1.287 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/1.464, allocations: 434.3 kB / 1.287 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/1.464, allocations: 249.1 kB / 1.288 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/1.464, allocations: 62.5 kB / 1.288 GB, free: 12.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002055/1.464, allocations: 392.3 kB / 1.288 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/1.465, allocations: 275.5 kB / 1.288 GB, free: 12.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/1.465, allocations: 364.9 kB / 1.289 GB, free: 12.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.467, allocations: 0.6684 MB / 1.289 GB, free: 12.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.467, allocations: 0 / 1.289 GB, free: 12.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001511/1.468, allocations: 0.7983 MB / 1.29 GB, free: 12.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.468, allocations: 5.188 kB / 1.29 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.468, allocations: 3.125 kB / 1.29 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.468, allocations: 6.297 kB / 1.29 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/1.469, allocations: 143.6 kB / 1.29 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/1.469, allocations: 11.75 kB / 1.29 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.47, allocations: 111.6 kB / 1.29 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/1.47, allocations: 28.2 kB / 1.29 GB, free: 12.39 MB / 1.014 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.000537/1.471, allocations: 286.1 kB / 1.291 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/1.471, allocations: 93.75 kB / 1.291 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/1.472, allocations: 0.796 MB / 1.292 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.473, allocations: 6.938 kB / 1.292 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.473, allocations: 1.219 kB / 1.292 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/1.474, allocations: 0.8199 MB / 1.292 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/1.477, allocations: 1.856 MB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.477, allocations: 1.312 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008599/1.478, allocations: 171.9 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/1.478, allocations: 2.281 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/1.478, allocations: 18.34 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.478, allocations: 2.125 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.478, allocations: 1.5 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/1.48, allocations: 1.202 MB / 1.296 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/1.481, allocations: 243.4 kB / 1.296 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.481, allocations: 10.69 kB / 1.296 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/1.482, allocations: 88.52 kB / 1.296 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.482, allocations: 43.09 kB / 1.296 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/1.482, allocations: 26.23 kB / 1.296 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006996/1.483, allocations: 455.6 kB / 1.296 GB, free: 11.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.483, allocations: 0 / 1.296 GB, free: 11.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001234/1.484, allocations: 338.1 kB / 1.297 GB, free: 11.07 MB / 1.014 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.0004358/1.484, allocations: 196.7 kB / 1.297 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.486, allocations: 0.6805 MB / 1.298 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.486, allocations: 0 / 1.298 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006519/1.486, allocations: 376.8 kB / 1.298 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.489, allocations: 0.5158 MB / 1.298 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/1.493, allocations: 2.781 MB / 1.301 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/1.494, allocations: 1.086 MB / 1.302 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/1.495, allocations: 80 kB / 1.302 GB, free: 8.699 MB / 1.014 GB Notification: Performance of SimCode: time 2.966e-06/1.495, allocations: 4 kB / 1.302 GB, free: 8.695 MB / 1.014 GB Notification: Performance of Templates: time 0.03125/1.526, allocations: 15.08 MB / 1.317 GB, free: 6.988 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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