Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_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.005303/0.005303, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001185/0.001185, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.525/2.525, allocations: 469.4 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.84 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2687, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9024/1.171, allocations: 314.2 MB / 1.527 GB, free: 11.57 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02569/1.197, allocations: 18.46 MB / 1.545 GB, free: 9.062 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003788/1.201, allocations: 87.56 kB / 1.545 GB, free: 8.977 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00549/1.206, allocations: 2.25 MB / 1.547 GB, free: 6.715 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01763/1.224, allocations: 7.527 MB / 1.554 GB, free: 15.15 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008354/1.232, allocations: 3.252 MB / 1.557 GB, free: 11.9 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01071/1.243, allocations: 9.126 MB / 1.566 GB, free: 2.758 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/1.248, allocations: 3.108 MB / 1.569 GB, free: 15.59 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006153/1.254, allocations: 3.391 MB / 1.573 GB, free: 12.19 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005749/1.26, allocations: 3.235 MB / 1.576 GB, free: 8.961 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001301/1.261, allocations: 404 kB / 1.576 GB, free: 8.566 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/1.275, allocations: 7.034 MB / 1.583 GB, free: 1.516 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002496/1.277, allocations: 1.683 MB / 1.585 GB, free: 15.82 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004807/1.282, allocations: 2.306 MB / 1.587 GB, free: 13.51 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01573/1.298, allocations: 8.212 MB / 1.595 GB, free: 5.273 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.298, allocations: 0 / 1.595 GB, free: 5.273 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.663e-06/1.298, allocations: 0 / 1.595 GB, free: 5.273 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002188/1.298, allocations: 8 kB / 1.595 GB, free: 5.266 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.01436/1.313, allocations: 5.11 MB / 1.6 GB, free: 80 kB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.313, allocations: 12.03 kB / 1.6 GB, free: 68 kB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/1.314, allocations: 459.5 kB / 1.6 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/1.321, allocations: 1.036 MB / 1.601 GB, free: 14.57 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/1.326, allocations: 2.257 MB / 1.604 GB, free: 12.26 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/1.326, allocations: 250.4 kB / 1.604 GB, free: 12.01 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/1.327, allocations: 323.9 kB / 1.604 GB, free: 11.7 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008303/1.335, allocations: 4.235 MB / 1.608 GB, free: 7.375 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/1.335, allocations: 7.953 kB / 1.608 GB, free: 7.367 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004992/1.336, allocations: 135.9 kB / 1.608 GB, free: 7.234 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/1.336, allocations: 182.3 kB / 1.609 GB, free: 7.055 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008203/1.344, allocations: 4.776 MB / 1.613 GB, free: 2.27 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.02108/1.365, allocations: 14.48 MB / 1.627 GB, free: 2.824 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/1.372, allocations: 4.542 MB / 1.632 GB, free: 14.29 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/1.375, allocations: 2.455 MB / 1.634 GB, free: 11.82 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/1.377, allocations: 1.608 MB / 1.636 GB, free: 9.883 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/1.377, allocations: 81.64 kB / 1.636 GB, free: 9.793 MB / 1.326 GB Notification: Performance of pre-optimization done (n=392): time 6.533e-06/1.377, allocations: 0 / 1.636 GB, free: 9.793 MB / 1.326 GB Notification: Performance of matching and sorting (n=392): time 0.009604/1.387, allocations: 5.545 MB / 1.641 GB, free: 4.227 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/1.387, allocations: 94.42 kB / 1.641 GB, free: 4.121 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.389, allocations: 1.682 MB / 1.643 GB, free: 2.398 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0003492/1.39, allocations: 93.7 kB / 1.643 GB, free: 2.301 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007496/1.391, allocations: 1.161 MB / 1.644 GB, free: 1.129 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.392, allocations: 1.387 MB / 1.646 GB, free: 15.73 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/1.393, allocations: 0.5547 MB / 1.646 GB, free: 15.16 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/1.393, allocations: 304.9 kB / 1.646 GB, free: 14.87 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/1.395, allocations: 1.564 MB / 1.648 GB, free: 13.3 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/1.398, allocations: 1.922 MB / 1.65 GB, free: 11.31 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/1.404, allocations: 3.762 MB / 1.654 GB, free: 7.465 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/1.404, allocations: 4 kB / 1.654 GB, free: 7.461 MB / 1.342 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006906/1.411, allocations: 4.194 MB / 1.658 GB, free: 3.242 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.411, allocations: 10.5 kB / 1.658 GB, free: 3.234 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.411, allocations: 4 kB / 1.658 GB, free: 3.23 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/1.411, allocations: 24 kB / 1.658 GB, free: 3.207 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/1.414, allocations: 0.6911 MB / 1.658 GB, free: 2.516 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.445e-05/1.414, allocations: 31.86 kB / 1.658 GB, free: 2.484 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.417, allocations: 265.9 kB / 1.659 GB, free: 2.223 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/1.417, allocations: 116 kB / 1.659 GB, free: 2.109 MB / 1.342 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.001589/1.419, allocations: 0.7946 MB / 1.66 GB, free: 1.305 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008402/1.419, allocations: 310.1 kB / 1.66 GB, free: 1 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007249/1.427, allocations: 4.433 MB / 1.664 GB, free: 12.53 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/1.427, allocations: 40 kB / 1.664 GB, free: 12.49 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.427, allocations: 7.938 kB / 1.664 GB, free: 12.48 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005365/1.432, allocations: 3.792 MB / 1.668 GB, free: 8.625 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/1.447, allocations: 8.641 MB / 1.676 GB, free: 15.82 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.447, allocations: 4 kB / 1.676 GB, free: 15.82 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/1.45, allocations: 0.7259 MB / 1.677 GB, free: 15.09 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-05/1.45, allocations: 16 kB / 1.677 GB, free: 15.07 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/1.45, allocations: 83.98 kB / 1.677 GB, free: 14.99 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.972e-05/1.45, allocations: 12 kB / 1.677 GB, free: 14.98 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.45, allocations: 7.938 kB / 1.677 GB, free: 14.97 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009509/1.46, allocations: 6.594 MB / 1.684 GB, free: 8.285 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/1.462, allocations: 0.8029 MB / 1.684 GB, free: 7.461 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006886/1.463, allocations: 71.98 kB / 1.684 GB, free: 7.391 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.465, allocations: 75.98 kB / 1.685 GB, free: 7.316 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/1.466, allocations: 238.6 kB / 1.685 GB, free: 7.082 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002918/1.466, allocations: 123.9 kB / 1.685 GB, free: 6.961 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.001875/1.468, allocations: 1.153 MB / 1.686 GB, free: 5.785 MB / 1.373 GB Notification: Performance of sort global known variables: time 1.71e-07/1.468, allocations: 0 / 1.686 GB, free: 5.785 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.003004/1.471, allocations: 1.236 MB / 1.687 GB, free: 4.547 MB / 1.373 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.01055/1.481, allocations: 7.513 MB / 1.695 GB, free: 12.94 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.006076/1.487, allocations: 3.943 MB / 1.698 GB, free: 8.98 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.488, allocations: 0 / 1.698 GB, free: 8.98 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.003063/1.491, allocations: 2.154 MB / 1.7 GB, free: 6.828 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007762/1.498, allocations: 1.604 MB / 1.702 GB, free: 5.25 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/1.54, allocations: 25.81 MB / 1.727 GB, free: 11.06 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/1.542, allocations: 2.205 MB / 1.729 GB, free: 8.816 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.004/1.546, allocations: 1.204 MB / 1.731 GB, free: 7.605 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/1.549, allocations: 1.386 MB / 1.732 GB, free: 6.223 MB / 1.42 GB Notification: Performance of SimCode: time 1.002e-06/1.549, allocations: 4 kB / 1.732 GB, free: 6.219 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/1.674, allocations: 85.54 MB / 1.815 GB, free: 1.469 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.23, allocations: 4.062 kB / 1.815 GB, free: 1.465 MB / 1.498 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches