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.001413/0.001419, allocations: 102.8 kB / 16.27 MB, free: 5.965 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.001576/0.001576, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.935/1.935, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.944/2.945, allocations: 469.4 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 60.25 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7018, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9986/1.7, allocations: 202 MB / 1.261 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01264/1.713, allocations: 7.385 MB / 1.269 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/1.716, allocations: 47.75 kB / 1.269 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/1.718, allocations: 0.6914 MB / 1.269 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007923/1.726, allocations: 2.4 MB / 1.272 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/1.73, allocations: 1.237 MB / 1.273 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004911/1.735, allocations: 2.904 MB / 1.276 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/1.737, allocations: 0.9436 MB / 1.277 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/1.74, allocations: 1.008 MB / 1.278 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/1.742, allocations: 0.9817 MB / 1.279 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004886/1.743, allocations: 108 kB / 1.279 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005596/1.748, allocations: 2.132 MB / 1.281 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008922/1.749, allocations: 446.8 kB / 1.281 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001873/1.751, allocations: 0.6651 MB / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006256/1.758, allocations: 2.388 MB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.758, allocations: 0 / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.215e-06/1.758, allocations: 4 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.283e-05/1.758, allocations: 0 / 1.284 GB, free: 7.602 MB / 0.9981 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.005031/1.763, allocations: 1.617 MB / 1.286 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.763, allocations: 12.02 kB / 1.286 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/1.766, allocations: 370.2 kB / 1.286 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/1.768, allocations: 0.8161 MB / 1.287 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/1.768, allocations: 73.92 kB / 1.287 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/1.768, allocations: 84 kB / 1.287 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/1.77, allocations: 1.042 MB / 1.288 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/1.77, allocations: 3.938 kB / 1.288 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.77, allocations: 32 kB / 1.288 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/1.77, allocations: 45.98 kB / 1.288 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/1.772, allocations: 0.8822 MB / 1.289 GB, free: 2.504 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.006087/1.778, allocations: 4.331 MB / 1.293 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/1.779, allocations: 0.6974 MB / 1.294 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/1.78, allocations: 458.9 kB / 1.294 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007015/1.781, allocations: 0.6771 MB / 1.295 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.781, allocations: 39.12 kB / 1.295 GB, free: 11.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.005e-06/1.781, allocations: 4 kB / 1.295 GB, free: 11.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002041/1.783, allocations: 0.9977 MB / 1.296 GB, free: 10.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/1.783, allocations: 59.97 kB / 1.296 GB, free: 10.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/1.784, allocations: 0.6334 MB / 1.297 GB, free: 10.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/1.784, allocations: 37.7 kB / 1.297 GB, free: 10.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/1.784, allocations: 428.1 kB / 1.297 GB, free: 9.605 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/1.785, allocations: 248.3 kB / 1.297 GB, free: 9.359 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/1.785, allocations: 122.2 kB / 1.298 GB, free: 9.234 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.785, allocations: 390.7 kB / 1.298 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/1.786, allocations: 277.2 kB / 1.298 GB, free: 8.574 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/1.786, allocations: 361 kB / 1.299 GB, free: 8.199 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.787, allocations: 0.6548 MB / 1.299 GB, free: 7.527 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.787, allocations: 0 / 1.299 GB, free: 7.527 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00142/1.789, allocations: 0.7971 MB / 1.3 GB, free: 6.723 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.789, allocations: 5.562 kB / 1.3 GB, free: 6.719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.789, allocations: 3.938 kB / 1.3 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.789, allocations: 11.98 kB / 1.3 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/1.789, allocations: 143.8 kB / 1.3 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/1.789, allocations: 4 kB / 1.3 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/1.79, allocations: 57.73 kB / 1.3 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/1.79, allocations: 20 kB / 1.3 GB, free: 6.484 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.000498/1.791, allocations: 293.6 kB / 1.3 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/1.791, allocations: 83.06 kB / 1.301 GB, free: 6.105 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/1.792, allocations: 0.7935 MB / 1.301 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.792, allocations: 7.938 kB / 1.301 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.792, allocations: 4 kB / 1.301 GB, free: 5.285 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/1.794, allocations: 0.823 MB / 1.302 GB, free: 4.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/1.797, allocations: 1.844 MB / 1.304 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.797, allocations: 0 / 1.304 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/1.798, allocations: 163.8 kB / 1.304 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/1.798, allocations: 7.938 kB / 1.304 GB, free: 2.344 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/1.798, allocations: 20 kB / 1.304 GB, free: 2.324 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/1.798, allocations: 0 / 1.304 GB, free: 2.324 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.798, allocations: 3.938 kB / 1.304 GB, free: 2.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/1.8, allocations: 1.193 MB / 1.305 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/1.8, allocations: 251.8 kB / 1.306 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.8, allocations: 12 kB / 1.306 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/1.801, allocations: 34.36 kB / 1.306 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.801, allocations: 44.48 kB / 1.306 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/1.801, allocations: 27.98 kB / 1.306 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006143/1.802, allocations: 451 kB / 1.306 GB, free: 308 kB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.802, allocations: 0 / 1.306 GB, free: 308 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001075/1.803, allocations: 339.4 kB / 1.306 GB, free: 15.96 MB / 1.029 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.000414/1.803, allocations: 207.6 kB / 1.307 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001705/1.805, allocations: 0.8162 MB / 1.307 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.805, allocations: 0 / 1.307 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005575/1.806, allocations: 367 kB / 1.308 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.808, allocations: 0.551 MB / 1.308 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/1.812, allocations: 2.232 MB / 1.31 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/1.813, allocations: 1.085 MB / 1.312 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/1.814, allocations: 83.42 kB / 1.312 GB, free: 10.57 MB / 1.029 GB Notification: Performance of SimCode: time 1.503e-06/1.814, allocations: 0 / 1.312 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Templates: time 0.07972/1.893, allocations: 15.23 MB / 1.326 GB, free: 11.45 MB / 1.045 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