Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007554/0.007554, allocations: 97.27 kB / 15.73 MB, free: 5.602 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.001813/0.001813, allocations: 193.3 kB / 16.68 MB, free: 5.523 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.659/2.659, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 71.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7425, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3378/1.08, allocations: 314.2 MB / 1.527 GB, free: 6.719 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02755/1.108, allocations: 18.46 MB / 1.545 GB, free: 4.219 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/1.112, allocations: 91.56 kB / 1.545 GB, free: 4.129 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00524/1.117, allocations: 2.144 MB / 1.547 GB, free: 1.973 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01811/1.135, allocations: 7.31 MB / 1.554 GB, free: 10.63 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008251/1.143, allocations: 3.228 MB / 1.557 GB, free: 7.406 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.6663/1.81, allocations: 9.096 MB / 1.566 GB, free: 10.04 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005474/1.815, allocations: 3.105 MB / 1.569 GB, free: 9.703 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007042/1.822, allocations: 3.307 MB / 1.573 GB, free: 9.703 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007517/1.83, allocations: 3.224 MB / 1.576 GB, free: 9.699 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0009688/1.831, allocations: 404.4 kB / 1.576 GB, free: 9.699 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/1.844, allocations: 6.997 MB / 1.583 GB, free: 9.699 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00252/1.847, allocations: 1.689 MB / 1.585 GB, free: 9.699 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003513/1.85, allocations: 2.305 MB / 1.587 GB, free: 9.699 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0139/1.864, allocations: 8.217 MB / 1.595 GB, free: 9.035 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.864, allocations: 6.516 kB / 1.595 GB, free: 9.031 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.764e-06/1.864, allocations: 0 / 1.595 GB, free: 9.031 MB / 1.279 GB Notification: Performance of Transformations before backend: time 9.368e-05/1.864, allocations: 1.094 kB / 1.595 GB, free: 9.031 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01186/1.876, allocations: 5.113 MB / 1.6 GB, free: 23 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.876, allocations: 8.594 kB / 1.6 GB, free: 23 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004838/1.877, allocations: 459.4 kB / 1.6 GB, free: 22.95 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006021/1.883, allocations: 1.033 MB / 1.601 GB, free: 22.72 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/1.886, allocations: 2.259 MB / 1.604 GB, free: 22.13 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.886, allocations: 257 kB / 1.604 GB, free: 22.12 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/1.886, allocations: 328.2 kB / 1.604 GB, free: 22.11 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005601/1.892, allocations: 4.238 MB / 1.608 GB, free: 21.82 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/1.892, allocations: 5.391 kB / 1.608 GB, free: 21.82 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/1.892, allocations: 133.1 kB / 1.608 GB, free: 21.82 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/1.893, allocations: 170.6 kB / 1.609 GB, free: 21.81 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0076/1.9, allocations: 4.777 MB / 1.613 GB, free: 21.78 MB / 1.295 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.01957/1.92, allocations: 14.48 MB / 1.627 GB, free: 15.31 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005706/1.925, allocations: 4.549 MB / 1.632 GB, free: 15.16 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/1.929, allocations: 2.458 MB / 1.634 GB, free: 15.13 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/1.93, allocations: 1.607 MB / 1.636 GB, free: 13.44 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/1.93, allocations: 77.03 kB / 1.636 GB, free: 13.4 MB / 1.295 GB Notification: Performance of pre-optimization done (n=392): time 5.47e-06/1.93, allocations: 0.9688 kB / 1.636 GB, free: 13.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=392): time 0.008475/1.939, allocations: 5.55 MB / 1.641 GB, free: 13.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/1.939, allocations: 93.55 kB / 1.641 GB, free: 13.03 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/1.941, allocations: 1.687 MB / 1.643 GB, free: 12.81 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/1.941, allocations: 93.89 kB / 1.643 GB, free: 12.78 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/1.942, allocations: 1.155 MB / 1.644 GB, free: 12.34 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008496/1.943, allocations: 1.39 MB / 1.646 GB, free: 11.41 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007735/1.944, allocations: 0.5512 MB / 1.646 GB, free: 11.38 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.944, allocations: 305 kB / 1.646 GB, free: 11.09 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/1.946, allocations: 1.567 MB / 1.648 GB, free: 11.08 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/1.949, allocations: 1.912 MB / 1.65 GB, free: 10.87 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/1.954, allocations: 3.763 MB / 1.653 GB, free: 10.61 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.954, allocations: 7.469 kB / 1.653 GB, free: 10.61 MB / 1.295 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005935/1.96, allocations: 4.192 MB / 1.658 GB, free: 10.33 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.96, allocations: 11.03 kB / 1.658 GB, free: 10.33 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.96, allocations: 5.969 kB / 1.658 GB, free: 10.33 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/1.96, allocations: 18.78 kB / 1.658 GB, free: 10.33 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/1.963, allocations: 0.6947 MB / 1.658 GB, free: 10.33 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-05/1.963, allocations: 21.31 kB / 1.658 GB, free: 10.33 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/1.966, allocations: 268.2 kB / 1.659 GB, free: 10.18 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.966, allocations: 116.4 kB / 1.659 GB, free: 10.18 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001389/1.967, allocations: 0.7996 MB / 1.659 GB, free: 10.06 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/1.968, allocations: 306.6 kB / 1.66 GB, free: 9.902 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006277/1.974, allocations: 4.431 MB / 1.664 GB, free: 9.699 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/1.974, allocations: 39.47 kB / 1.664 GB, free: 9.699 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.974, allocations: 0 / 1.664 GB, free: 9.699 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004659/1.979, allocations: 3.794 MB / 1.668 GB, free: 9.355 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.99, allocations: 8.643 MB / 1.676 GB, free: 8.566 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.99, allocations: 3.781 kB / 1.676 GB, free: 8.566 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/1.993, allocations: 0.7181 MB / 1.677 GB, free: 8.566 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/1.993, allocations: 16.19 kB / 1.677 GB, free: 8.566 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/1.994, allocations: 86.94 kB / 1.677 GB, free: 8.566 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/1.994, allocations: 21.45 kB / 1.677 GB, free: 8.562 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.994, allocations: 5.938 kB / 1.677 GB, free: 8.559 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008103/2.002, allocations: 6.59 MB / 1.684 GB, free: 7.988 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/2.003, allocations: 0.8121 MB / 1.684 GB, free: 7.684 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/2.004, allocations: 75.27 kB / 1.684 GB, free: 7.68 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/2.006, allocations: 87.06 kB / 1.684 GB, free: 7.676 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/2.006, allocations: 231.5 kB / 1.685 GB, free: 7.672 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/2.006, allocations: 115.8 kB / 1.685 GB, free: 7.672 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00131/2.008, allocations: 1.158 MB / 1.686 GB, free: 7.527 MB / 1.295 GB Notification: Performance of sort global known variables: time 2e-07/2.008, allocations: 0.9688 kB / 1.686 GB, free: 7.527 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002153/2.01, allocations: 1.238 MB / 1.687 GB, free: 7.395 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.009891/2.02, allocations: 7.503 MB / 1.694 GB, free: 3.594 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006388/2.026, allocations: 3.946 MB / 1.698 GB, free: 164 kB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/2.026, allocations: 0 / 1.698 GB, free: 164 kB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007976/2.034, allocations: 2.675 MB / 1.701 GB, free: 15.64 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007092/2.041, allocations: 1.6 MB / 1.702 GB, free: 14.42 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04348/2.085, allocations: 25.82 MB / 1.728 GB, free: 4.895 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/2.087, allocations: 2.205 MB / 1.73 GB, free: 2.652 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.003949/2.091, allocations: 1.204 MB / 1.731 GB, free: 1.441 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/2.093, allocations: 1.39 MB / 1.732 GB, free: 52 kB / 1.326 GB Notification: Performance of SimCode: time 1.092e-06/2.093, allocations: 4 kB / 1.732 GB, free: 48 kB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/2.242, allocations: 85.54 MB / 1.816 GB, free: 11.6 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.97/22.21, allocations: 26.19 kB / 1.816 GB, free: 11.58 MB / 1.42 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches