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.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: "" <> 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.0086/0.008606, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001579/0.001578, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.601/1.601, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.862/2.862, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 1.054 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3898, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.262/1.652, allocations: 314.2 MB / 1.514 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0336/1.686, allocations: 18.45 MB / 1.532 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005639/1.691, allocations: 87.56 kB / 1.532 GB, free: 10.16 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006818/1.698, allocations: 2.152 MB / 1.534 GB, free: 8 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02109/1.719, allocations: 7.306 MB / 1.541 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01054/1.73, allocations: 3.229 MB / 1.545 GB, free: 13.44 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01305/1.743, allocations: 9.107 MB / 1.553 GB, free: 4.305 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005833/1.749, allocations: 3.109 MB / 1.556 GB, free: 1.145 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007496/1.757, allocations: 3.345 MB / 1.56 GB, free: 13.79 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007485/1.764, allocations: 3.236 MB / 1.563 GB, free: 10.55 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002097/1.766, allocations: 404 kB / 1.563 GB, free: 10.16 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/1.783, allocations: 6.999 MB / 1.57 GB, free: 3.145 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.00385/1.787, allocations: 1.683 MB / 1.572 GB, free: 1.457 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.007522/1.795, allocations: 2.307 MB / 1.574 GB, free: 15.14 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02162/1.816, allocations: 8.189 MB / 1.582 GB, free: 6.93 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/1.816, allocations: 4 kB / 1.582 GB, free: 6.926 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.575e-06/1.816, allocations: 0 / 1.582 GB, free: 6.926 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002705/1.817, allocations: 0 / 1.582 GB, free: 6.926 MB / 1.264 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.01681/1.834, allocations: 4.987 MB / 1.587 GB, free: 1.871 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.834, allocations: 12.62 kB / 1.587 GB, free: 1.859 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001678/1.835, allocations: 459.5 kB / 1.587 GB, free: 1.398 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00908/1.844, allocations: 1.014 MB / 1.588 GB, free: 388 kB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006265/1.851, allocations: 2.248 MB / 1.591 GB, free: 14.08 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/1.851, allocations: 246.4 kB / 1.591 GB, free: 13.84 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/1.852, allocations: 323.9 kB / 1.591 GB, free: 13.52 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/1.863, allocations: 4.243 MB / 1.595 GB, free: 9.191 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/1.863, allocations: 4 kB / 1.595 GB, free: 9.188 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008739/1.864, allocations: 128 kB / 1.595 GB, free: 9.062 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/1.864, allocations: 186.3 kB / 1.596 GB, free: 8.879 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/1.874, allocations: 4.768 MB / 1.6 GB, free: 4.102 MB / 1.279 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.02596/1.9, allocations: 14.45 MB / 1.614 GB, free: 4.68 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006992/1.907, allocations: 4.544 MB / 1.619 GB, free: 152 kB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004077/1.912, allocations: 2.452 MB / 1.621 GB, free: 13.68 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/1.913, allocations: 1.616 MB / 1.623 GB, free: 11.74 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.754e-05/1.913, allocations: 77.64 kB / 1.623 GB, free: 11.65 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 1.008e-05/1.913, allocations: 0 / 1.623 GB, free: 11.65 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.01069/1.924, allocations: 5.539 MB / 1.628 GB, free: 6.09 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/1.924, allocations: 90.48 kB / 1.628 GB, free: 5.988 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/1.928, allocations: 1.688 MB / 1.63 GB, free: 4.258 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0006161/1.928, allocations: 93.7 kB / 1.63 GB, free: 4.16 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/1.929, allocations: 1.132 MB / 1.631 GB, free: 3.016 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/1.931, allocations: 1.32 MB / 1.632 GB, free: 1.676 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/1.933, allocations: 0.5469 MB / 1.633 GB, free: 1.121 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.933, allocations: 313 kB / 1.633 GB, free: 0.8125 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/1.936, allocations: 1.564 MB / 1.635 GB, free: 15.25 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/1.939, allocations: 1.912 MB / 1.637 GB, free: 13.27 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006369/1.945, allocations: 3.77 MB / 1.64 GB, free: 9.41 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/1.945, allocations: 0 / 1.64 GB, free: 9.41 MB / 1.326 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007587/1.953, allocations: 4.177 MB / 1.644 GB, free: 5.207 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.953, allocations: 8 kB / 1.644 GB, free: 5.199 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.953, allocations: 4.656 kB / 1.644 GB, free: 5.195 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.352e-05/1.953, allocations: 27.94 kB / 1.644 GB, free: 5.168 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/1.956, allocations: 0.6866 MB / 1.645 GB, free: 4.48 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.372e-05/1.956, allocations: 23.94 kB / 1.645 GB, free: 4.457 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/1.959, allocations: 269.5 kB / 1.645 GB, free: 4.191 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/1.959, allocations: 116 kB / 1.645 GB, free: 4.078 MB / 1.326 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.001975/1.961, allocations: 0.7976 MB / 1.646 GB, free: 3.27 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.962, allocations: 292.5 kB / 1.647 GB, free: 2.98 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00753/1.97, allocations: 4.433 MB / 1.651 GB, free: 14.51 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/1.97, allocations: 40 kB / 1.651 GB, free: 14.47 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.97, allocations: 4 kB / 1.651 GB, free: 14.47 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005678/1.976, allocations: 3.796 MB / 1.655 GB, free: 10.61 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.991, allocations: 8.633 MB / 1.663 GB, free: 1.812 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.991, allocations: 4.312 kB / 1.663 GB, free: 1.809 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003381/1.995, allocations: 0.7217 MB / 1.664 GB, free: 1.086 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.876e-05/1.995, allocations: 16 kB / 1.664 GB, free: 1.07 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003696/1.995, allocations: 87.97 kB / 1.664 GB, free: 0.9844 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-05/1.995, allocations: 16 kB / 1.664 GB, free: 0.9688 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.995, allocations: 3.938 kB / 1.664 GB, free: 0.9648 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/2.005, allocations: 6.576 MB / 1.67 GB, free: 10.29 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002237/2.008, allocations: 0.7971 MB / 1.671 GB, free: 9.469 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007087/2.009, allocations: 68 kB / 1.671 GB, free: 9.402 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/2.011, allocations: 86.34 kB / 1.671 GB, free: 9.32 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/2.011, allocations: 242.6 kB / 1.671 GB, free: 9.082 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/2.012, allocations: 116 kB / 1.672 GB, free: 8.969 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.00208/2.014, allocations: 1.149 MB / 1.673 GB, free: 7.797 MB / 1.357 GB Notification: Performance of sort global known variables: time 2.71e-07/2.014, allocations: 0 / 1.673 GB, free: 7.797 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.003667/2.017, allocations: 1.228 MB / 1.674 GB, free: 6.566 MB / 1.357 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.01153/2.029, allocations: 7.493 MB / 1.681 GB, free: 14.98 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.006782/2.036, allocations: 3.945 MB / 1.685 GB, free: 11.02 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/2.036, allocations: 0 / 1.685 GB, free: 11.02 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003307/2.039, allocations: 2.156 MB / 1.687 GB, free: 8.863 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008425/2.048, allocations: 1.594 MB / 1.689 GB, free: 7.293 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05644/2.104, allocations: 25.69 MB / 1.714 GB, free: 13.24 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003962/2.108, allocations: 2.201 MB / 1.716 GB, free: 11 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.00515/2.113, allocations: 1.208 MB / 1.717 GB, free: 9.789 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002842/2.116, allocations: 1.39 MB / 1.718 GB, free: 8.398 MB / 1.404 GB Notification: Performance of SimCode: time 3.607e-06/2.116, allocations: 0 / 1.718 GB, free: 8.398 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1576/2.274, allocations: 87 MB / 1.803 GB, free: 2.18 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/17.48, allocations: 10.52 kB / 1.803 GB, free: 2.172 MB / 1.482 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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