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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001324/0.001324, allocations: 110.8 kB / 16.41 MB, free: 6.492 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.001209/0.001209, allocations: 187 kB / 17.34 MB, free: 5.766 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.307/1.307, 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 11.0.1-master/package.mo): time 2.424/2.424, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.14 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7779, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1876/0.9656, allocations: 202 MB / 1.406 GB, free: 2.926 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.9763, allocations: 7.41 MB / 1.413 GB, free: 11.5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.978, allocations: 35.81 kB / 1.413 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.9801, allocations: 0.6952 MB / 1.414 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006148/0.9863, allocations: 2.407 MB / 1.416 GB, free: 8.352 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.9894, allocations: 1.23 MB / 1.417 GB, free: 7.121 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.9932, allocations: 2.918 MB / 1.42 GB, free: 4.191 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.9947, allocations: 0.9469 MB / 1.421 GB, free: 3.227 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.9967, allocations: 1.035 MB / 1.422 GB, free: 2.188 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.9989, allocations: 0.9579 MB / 1.423 GB, free: 1.23 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003274/0.9992, allocations: 108 kB / 1.423 GB, free: 1.125 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/1.003, allocations: 2.136 MB / 1.425 GB, free: 14.98 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/1.004, allocations: 442.7 kB / 1.425 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/1.005, allocations: 0.6728 MB / 1.426 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/1.01, allocations: 2.4 MB / 1.428 GB, free: 11.47 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.01, allocations: 4 kB / 1.428 GB, free: 11.46 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.924e-06/1.01, allocations: 0 / 1.428 GB, free: 11.46 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.998e-05/1.01, allocations: 4 kB / 1.428 GB, free: 11.46 MB / 1.154 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.003813/1.013, allocations: 1.616 MB / 1.43 GB, free: 9.789 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.014, allocations: 12.03 kB / 1.43 GB, free: 9.777 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/1.016, allocations: 382.1 kB / 1.43 GB, free: 9.402 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/1.018, allocations: 0.8473 MB / 1.431 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/1.018, allocations: 62 kB / 1.431 GB, free: 8.453 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/1.018, allocations: 91.98 kB / 1.431 GB, free: 8.363 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.02, allocations: 1.038 MB / 1.432 GB, free: 7.289 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.02, allocations: 3.906 kB / 1.432 GB, free: 7.285 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/1.02, allocations: 47.98 kB / 1.432 GB, free: 7.238 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/1.02, allocations: 45.92 kB / 1.433 GB, free: 7.195 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/1.021, allocations: 0.8783 MB / 1.433 GB, free: 6.316 MB / 1.154 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.004833/1.026, allocations: 4.296 MB / 1.438 GB, free: 1.668 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.027, allocations: 0.6935 MB / 1.438 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/1.028, allocations: 459 kB / 1.439 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/1.029, allocations: 0.6771 MB / 1.439 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.029, allocations: 47.12 kB / 1.439 GB, free: 15.64 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.835e-06/1.029, allocations: 0 / 1.439 GB, free: 15.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.0018/1.031, allocations: 0.9938 MB / 1.44 GB, free: 14.64 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.031, allocations: 55.97 kB / 1.44 GB, free: 14.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/1.031, allocations: 0.6412 MB / 1.441 GB, free: 13.92 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/1.031, allocations: 41.64 kB / 1.441 GB, free: 13.88 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/1.032, allocations: 436.1 kB / 1.441 GB, free: 13.44 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/1.032, allocations: 244.3 kB / 1.442 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.032, allocations: 122.2 kB / 1.442 GB, free: 13.07 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.032, allocations: 386.7 kB / 1.442 GB, free: 12.69 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/1.033, allocations: 273.2 kB / 1.442 GB, free: 12.42 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/1.033, allocations: 365 kB / 1.443 GB, free: 12.04 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009245/1.034, allocations: 0.6626 MB / 1.443 GB, free: 11.36 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.034, allocations: 4 kB / 1.443 GB, free: 11.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001253/1.035, allocations: 0.7814 MB / 1.444 GB, free: 10.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.035, allocations: 14.02 kB / 1.444 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.035, allocations: 0 / 1.444 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.035, allocations: 4.188 kB / 1.444 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/1.036, allocations: 143.8 kB / 1.444 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/1.036, allocations: 7.938 kB / 1.444 GB, free: 10.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/1.037, allocations: 63.36 kB / 1.444 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/1.037, allocations: 20 kB / 1.444 GB, free: 10.32 MB / 1.17 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.0003968/1.037, allocations: 281.6 kB / 1.445 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.037, allocations: 90.95 kB / 1.445 GB, free: 9.945 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/1.039, allocations: 0.792 MB / 1.446 GB, free: 9.137 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.039, allocations: 8 kB / 1.446 GB, free: 9.129 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.039, allocations: 3.938 kB / 1.446 GB, free: 9.125 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/1.04, allocations: 0.8269 MB / 1.446 GB, free: 8.246 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/1.042, allocations: 1.857 MB / 1.448 GB, free: 6.332 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/1.042, allocations: 0 / 1.448 GB, free: 6.332 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/1.043, allocations: 167.8 kB / 1.448 GB, free: 6.168 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.043, allocations: 4 kB / 1.448 GB, free: 6.164 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/1.043, allocations: 12 kB / 1.448 GB, free: 6.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/1.043, allocations: 7.984 kB / 1.448 GB, free: 6.145 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.043, allocations: 0 / 1.448 GB, free: 6.145 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.045, allocations: 1.199 MB / 1.45 GB, free: 4.93 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/1.045, allocations: 240 kB / 1.45 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/1.045, allocations: 16 kB / 1.45 GB, free: 4.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/1.046, allocations: 23.89 kB / 1.45 GB, free: 4.637 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.046, allocations: 40.5 kB / 1.45 GB, free: 4.598 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/1.046, allocations: 31.98 kB / 1.45 GB, free: 4.566 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005118/1.047, allocations: 455 kB / 1.45 GB, free: 4.129 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.41e-07/1.047, allocations: 4 kB / 1.45 GB, free: 4.125 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00087/1.048, allocations: 339.2 kB / 1.451 GB, free: 3.793 MB / 1.17 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.0003438/1.048, allocations: 200.5 kB / 1.451 GB, free: 3.59 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001116/1.049, allocations: 0.6797 MB / 1.452 GB, free: 2.91 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.049, allocations: 0 / 1.452 GB, free: 2.91 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005154/1.05, allocations: 375 kB / 1.452 GB, free: 2.547 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/1.052, allocations: 0.5477 MB / 1.452 GB, free: 2.016 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/1.055, allocations: 2.2 MB / 1.455 GB, free: 15.78 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/1.056, allocations: 1.092 MB / 1.456 GB, free: 14.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/1.056, allocations: 75.44 kB / 1.456 GB, free: 14.58 MB / 1.186 GB Notification: Performance of SimCode: time 5.21e-07/1.056, allocations: 0 / 1.456 GB, free: 14.58 MB / 1.186 GB Notification: Performance of Templates: time 0.02176/1.078, allocations: 15.32 MB / 1.471 GB, free: 15.36 MB / 1.201 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