Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002328/0.002328, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.514/1.514, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.08/3.08, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003118/0.003118, allocations: 63.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.8513, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.047/1.899, allocations: 291.7 MB / 1.302 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02882/1.928, allocations: 16.92 MB / 1.318 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00701/1.935, allocations: 71.72 kB / 1.318 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007044/1.942, allocations: 1.703 MB / 1.32 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02172/1.964, allocations: 6.062 MB / 1.326 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009073/1.973, allocations: 2.706 MB / 1.328 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01169/1.984, allocations: 7.708 MB / 1.336 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004723/1.989, allocations: 2.537 MB / 1.338 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006933/1.996, allocations: 2.82 MB / 1.341 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006559/2.003, allocations: 2.862 MB / 1.344 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/2.004, allocations: 333.2 kB / 1.344 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/2.019, allocations: 6.435 MB / 1.351 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002786/2.022, allocations: 1.342 MB / 1.352 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004185/2.026, allocations: 1.879 MB / 1.354 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01909/2.045, allocations: 7.281 MB / 1.361 GB, free: 15.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/2.045, allocations: 6.312 kB / 1.361 GB, free: 15.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/2.045, allocations: 0 / 1.361 GB, free: 15.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001326/2.045, allocations: 0 / 1.361 GB, free: 15.17 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01353/2.059, allocations: 4.128 MB / 1.365 GB, free: 13.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/2.059, allocations: 8.156 kB / 1.365 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006997/2.066, allocations: 0.9163 MB / 1.366 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/2.071, allocations: 1.845 MB / 1.368 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/2.071, allocations: 195.8 kB / 1.368 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/2.071, allocations: 263 kB / 1.368 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007021/2.078, allocations: 3.334 MB / 1.371 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.085e-05/2.079, allocations: 10.09 kB / 1.371 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/2.079, allocations: 106.4 kB / 1.371 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/2.079, allocations: 135.8 kB / 1.372 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006174/2.085, allocations: 3.5 MB / 1.375 GB, free: 8.664 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.01827/2.103, allocations: 12.09 MB / 1.387 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/2.108, allocations: 3.507 MB / 1.39 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/2.111, allocations: 1.815 MB / 1.392 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/2.113, allocations: 1.494 MB / 1.393 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/2.113, allocations: 64.75 kB / 1.394 GB, free: 9.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.217e-06/2.113, allocations: 0 / 1.394 GB, free: 9.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.007425/2.121, allocations: 3.892 MB / 1.397 GB, free: 5.906 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/2.121, allocations: 77.59 kB / 1.397 GB, free: 5.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/2.123, allocations: 1.383 MB / 1.399 GB, free: 4.426 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002955/2.123, allocations: 69.7 kB / 1.399 GB, free: 4.352 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008551/2.124, allocations: 0.9843 MB / 1.4 GB, free: 3.359 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/2.125, allocations: 0.9464 MB / 1.401 GB, free: 2.418 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007006/2.126, allocations: 412.9 kB / 1.401 GB, free: 2.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001546/2.126, allocations: 301.1 kB / 1.401 GB, free: 1.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/2.128, allocations: 1.094 MB / 1.402 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/2.13, allocations: 1.361 MB / 1.404 GB, free: 15.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/2.135, allocations: 2.643 MB / 1.406 GB, free: 12.46 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/2.135, allocations: 7.938 kB / 1.406 GB, free: 12.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005978/2.141, allocations: 2.971 MB / 1.409 GB, free: 9.465 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/2.141, allocations: 15.92 kB / 1.409 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/2.141, allocations: 4 kB / 1.409 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/2.141, allocations: 12.56 kB / 1.409 GB, free: 9.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/2.143, allocations: 0.5146 MB / 1.41 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-05/2.143, allocations: 19.09 kB / 1.41 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/2.147, allocations: 377.7 kB / 1.41 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/2.147, allocations: 83.98 kB / 1.41 GB, free: 8.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001568/2.148, allocations: 0.6478 MB / 1.411 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006011/2.149, allocations: 233.3 kB / 1.411 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005738/2.155, allocations: 3.108 MB / 1.414 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/2.155, allocations: 28 kB / 1.414 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/2.155, allocations: 0 / 1.414 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004294/2.159, allocations: 2.653 MB / 1.417 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/2.171, allocations: 6.221 MB / 1.423 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/2.171, allocations: 0 / 1.423 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/2.174, allocations: 0.5448 MB / 1.423 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.14e-05/2.174, allocations: 8 kB / 1.423 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/2.174, allocations: 55.98 kB / 1.423 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.821e-05/2.174, allocations: 12 kB / 1.423 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/2.174, allocations: 3.938 kB / 1.423 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007678/2.182, allocations: 4.573 MB / 1.428 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/2.184, allocations: 0.611 MB / 1.429 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004622/2.184, allocations: 56 kB / 1.429 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/2.186, allocations: 223.5 kB / 1.429 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/2.187, allocations: 165.9 kB / 1.429 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/2.187, allocations: 83.97 kB / 1.429 GB, free: 5.059 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001496/2.188, allocations: 0.9423 MB / 1.43 GB, free: 4.121 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/2.188, allocations: 0 / 1.43 GB, free: 4.121 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002477/2.191, allocations: 0.9862 MB / 1.431 GB, free: 3.133 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.0007469/2.192, allocations: 374.8 kB / 1.431 GB, free: 2.797 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01283/2.204, allocations: 5.536 MB / 1.437 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/2.204, allocations: 0 / 1.437 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/2.207, allocations: 1.508 MB / 1.438 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006419/2.213, allocations: 1.354 MB / 1.439 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/2.225, allocations: 7.235 MB / 1.447 GB, free: 3.266 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/2.226, allocations: 1.895 MB / 1.448 GB, free: 1.332 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004315/2.231, allocations: 0.8397 MB / 1.449 GB, free: 500 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008888/2.232, allocations: 207.4 kB / 1.449 GB, free: 292 kB / 1.076 GB Notification: Performance of SimCode: time 1.784e-06/2.232, allocations: 4 kB / 1.449 GB, free: 288 kB / 1.076 GB Notification: Performance of Templates: time 0.09097/2.323, allocations: 49.37 MB / 1.498 GB, free: 15.68 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches