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.001814/0.001814, allocations: 100.1 kB / 15.88 MB, free: 12 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.002359/0.002359, allocations: 200.1 kB / 16.79 MB, free: 6.828 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.492/1.492, allocations: 222.9 MB / 240.5 MB, free: 4.539 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.771/2.771, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.8692 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/0.8305, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2395/1.07, allocations: 199.8 MB / 1.212 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01183/1.082, allocations: 7.495 MB / 1.22 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/1.084, allocations: 31.81 kB / 1.22 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/1.086, allocations: 0.6104 MB / 1.22 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007176/1.093, allocations: 2.249 MB / 1.222 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/1.097, allocations: 1.12 MB / 1.224 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00552/1.103, allocations: 4.17 MB / 1.228 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/1.104, allocations: 0.813 MB / 1.228 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/1.107, allocations: 0.8792 MB / 1.229 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/1.109, allocations: 1.001 MB / 1.23 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/1.11, allocations: 56 kB / 1.23 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/1.115, allocations: 2.482 MB / 1.233 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007511/1.116, allocations: 402.8 kB / 1.233 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/1.117, allocations: 0.6142 MB / 1.234 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/1.121, allocations: 1.774 MB / 1.235 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.121, allocations: 4 kB / 1.235 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/1.121, allocations: 0 / 1.235 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.18e-05/1.121, allocations: 4 kB / 1.235 GB, free: 2.562 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.004762/1.126, allocations: 1.616 MB / 1.237 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.126, allocations: 12.03 kB / 1.237 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/1.128, allocations: 378.1 kB / 1.237 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/1.13, allocations: 0.8201 MB / 1.238 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/1.13, allocations: 62 kB / 1.238 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/1.131, allocations: 84 kB / 1.238 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/1.133, allocations: 1.049 MB / 1.239 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/1.133, allocations: 0 / 1.239 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.133, allocations: 36 kB / 1.239 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/1.133, allocations: 45.98 kB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/1.135, allocations: 0.8822 MB / 1.24 GB, free: 13.46 MB / 0.9981 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.005975/1.141, allocations: 4.292 MB / 1.245 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/1.142, allocations: 0.7028 MB / 1.245 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/1.143, allocations: 451 kB / 1.246 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/1.144, allocations: 0.6732 MB / 1.246 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.144, allocations: 43.12 kB / 1.246 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/1.144, allocations: 0 / 1.246 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.002137/1.146, allocations: 0.9977 MB / 1.247 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.146, allocations: 59.91 kB / 1.247 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009321/1.147, allocations: 0.6373 MB / 1.248 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/1.147, allocations: 41.7 kB / 1.248 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/1.147, allocations: 432.1 kB / 1.248 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/1.148, allocations: 248.3 kB / 1.249 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.148, allocations: 118.2 kB / 1.249 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.148, allocations: 386.7 kB / 1.249 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/1.148, allocations: 281.2 kB / 1.249 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/1.149, allocations: 361.1 kB / 1.25 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.15, allocations: 0.6665 MB / 1.25 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/1.15, allocations: 0 / 1.25 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00145/1.152, allocations: 0.7853 MB / 1.251 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.152, allocations: 8 kB / 1.251 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.152, allocations: 3.984 kB / 1.251 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.152, allocations: 4.188 kB / 1.251 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/1.152, allocations: 147.8 kB / 1.251 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.152, allocations: 8 kB / 1.251 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.153, allocations: 111.4 kB / 1.251 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/1.154, allocations: 23.94 kB / 1.251 GB, free: 1.406 MB / 0.9981 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.0004855/1.154, allocations: 298 kB / 1.252 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/1.154, allocations: 82.97 kB / 1.252 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/1.156, allocations: 0.792 MB / 1.253 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.156, allocations: 8 kB / 1.253 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.156, allocations: 0 / 1.253 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7419/1.898, allocations: 0.8141 MB / 1.253 GB, free: 235 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/1.901, allocations: 1.847 MB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/1.901, allocations: 0 / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/1.902, allocations: 172.9 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/1.902, allocations: 2.344 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/1.902, allocations: 16.38 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/1.902, allocations: 3.125 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.902, allocations: 0.8125 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.905, allocations: 1.197 MB / 1.257 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/1.905, allocations: 245 kB / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.905, allocations: 16.62 kB / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/1.906, allocations: 74.23 kB / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.906, allocations: 43.09 kB / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/1.906, allocations: 26.47 kB / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000755/1.907, allocations: 452.5 kB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.907, allocations: 0 / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001334/1.909, allocations: 343.3 kB / 1.258 GB, free: 233.3 MB / 0.9981 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.000404/1.909, allocations: 201.4 kB / 1.258 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001416/1.91, allocations: 0.6743 MB / 1.259 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.91, allocations: 3.375 kB / 1.259 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006949/1.911, allocations: 368.3 kB / 1.259 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.914, allocations: 0.5217 MB / 1.259 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/1.918, allocations: 2.629 MB / 1.262 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/1.919, allocations: 1.086 MB / 1.263 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/1.92, allocations: 82.89 kB / 1.263 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.92, allocations: 0 / 1.263 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03484/1.954, allocations: 15.22 MB / 1.278 GB, free: 225.4 MB / 0.9981 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