Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_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.00925/0.00925, allocations: 102 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.001925/0.001925, allocations: 195 kB / 16.68 MB, free: 5.969 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.977/1.977, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 62.73 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2546, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.001/1.256, allocations: 314.2 MB / 1.394 GB, free: 4.434 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03267/1.289, allocations: 18.45 MB / 1.412 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006144/1.295, allocations: 87.66 kB / 1.412 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006868/1.302, allocations: 2.148 MB / 1.414 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02222/1.324, allocations: 7.312 MB / 1.422 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01049/1.335, allocations: 3.221 MB / 1.425 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01339/1.348, allocations: 9.103 MB / 1.434 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006227/1.354, allocations: 3.116 MB / 1.437 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007992/1.362, allocations: 3.346 MB / 1.44 GB, free: 6.328 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007484/1.37, allocations: 3.231 MB / 1.443 GB, free: 3.652 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001791/1.372, allocations: 404 kB / 1.443 GB, free: 3.258 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01581/1.388, allocations: 7.01 MB / 1.45 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002998/1.391, allocations: 1.683 MB / 1.452 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005798/1.396, allocations: 2.299 MB / 1.454 GB, free: 8.234 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01854/1.415, allocations: 8.19 MB / 1.462 GB, free: 24 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.415, allocations: 4 kB / 1.462 GB, free: 20 kB / 1.076 GB Notification: Performance of FrontEnd: time 2.114e-06/1.415, allocations: 0 / 1.462 GB, free: 20 kB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001804/1.415, allocations: 0 / 1.462 GB, free: 20 kB / 1.076 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.0154/1.431, allocations: 4.993 MB / 1.467 GB, free: 10.96 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.431, allocations: 8.031 kB / 1.467 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001245/1.432, allocations: 459.5 kB / 1.468 GB, free: 10.49 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007502/1.439, allocations: 1.01 MB / 1.469 GB, free: 9.473 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/1.445, allocations: 2.255 MB / 1.471 GB, free: 7.164 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/1.446, allocations: 242.4 kB / 1.471 GB, free: 6.926 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/1.447, allocations: 328 kB / 1.471 GB, free: 6.605 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/1.457, allocations: 4.228 MB / 1.475 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/1.457, allocations: 15.92 kB / 1.475 GB, free: 2.277 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007344/1.458, allocations: 132 kB / 1.476 GB, free: 2.148 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/1.458, allocations: 170.4 kB / 1.476 GB, free: 1.98 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009627/1.468, allocations: 4.783 MB / 1.48 GB, free: 13.19 MB / 1.107 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.02432/1.492, allocations: 14.43 MB / 1.494 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/1.5, allocations: 4.561 MB / 1.499 GB, free: 9.207 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004875/1.505, allocations: 2.455 MB / 1.501 GB, free: 6.754 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/1.507, allocations: 1.608 MB / 1.503 GB, free: 4.812 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.979e-05/1.507, allocations: 77.64 kB / 1.503 GB, free: 4.727 MB / 1.123 GB Notification: Performance of pre-optimization done (n=392): time 8.125e-06/1.507, allocations: 0 / 1.503 GB, free: 4.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=392): time 0.01234/1.519, allocations: 5.531 MB / 1.508 GB, free: 15.17 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/1.519, allocations: 94.48 kB / 1.508 GB, free: 15.06 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/1.522, allocations: 1.682 MB / 1.51 GB, free: 13.34 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0005791/1.523, allocations: 97.7 kB / 1.51 GB, free: 13.24 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009394/1.524, allocations: 1.139 MB / 1.511 GB, free: 12.09 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.526, allocations: 1.316 MB / 1.513 GB, free: 10.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/1.527, allocations: 0.5508 MB / 1.513 GB, free: 10.2 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.527, allocations: 305.1 kB / 1.513 GB, free: 9.895 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/1.53, allocations: 1.564 MB / 1.515 GB, free: 8.328 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/1.534, allocations: 1.925 MB / 1.517 GB, free: 6.336 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006773/1.54, allocations: 3.762 MB / 1.52 GB, free: 2.488 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/1.541, allocations: 0 / 1.52 GB, free: 2.488 MB / 1.139 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008823/1.549, allocations: 4.173 MB / 1.525 GB, free: 14.29 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/1.549, allocations: 11.98 kB / 1.525 GB, free: 14.28 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/1.549, allocations: 4 kB / 1.525 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.282e-05/1.55, allocations: 20.66 kB / 1.525 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/1.553, allocations: 0.6982 MB / 1.525 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.139e-05/1.553, allocations: 20 kB / 1.525 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/1.556, allocations: 253.1 kB / 1.526 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006125/1.557, allocations: 120 kB / 1.526 GB, free: 13.17 MB / 1.154 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.00222/1.559, allocations: 0.8015 MB / 1.526 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.56, allocations: 292.5 kB / 1.527 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009072/1.569, allocations: 4.432 MB / 1.531 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.53e-05/1.569, allocations: 40 kB / 1.531 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/1.569, allocations: 7.984 kB / 1.531 GB, free: 7.555 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0065/1.576, allocations: 3.788 MB / 1.535 GB, free: 3.695 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/1.593, allocations: 8.648 MB / 1.543 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/1.593, allocations: 7.938 kB / 1.543 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/1.597, allocations: 0.7182 MB / 1.544 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.787e-05/1.597, allocations: 16 kB / 1.544 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005024/1.597, allocations: 83.98 kB / 1.544 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-05/1.598, allocations: 23.92 kB / 1.544 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.598, allocations: 0 / 1.544 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.609, allocations: 6.577 MB / 1.55 GB, free: 3.363 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/1.612, allocations: 0.7933 MB / 1.551 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008978/1.613, allocations: 72 kB / 1.551 GB, free: 2.477 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/1.615, allocations: 90.53 kB / 1.551 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00065/1.616, allocations: 238.5 kB / 1.552 GB, free: 2.156 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004139/1.616, allocations: 112 kB / 1.552 GB, free: 2.047 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002267/1.619, allocations: 1.157 MB / 1.553 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/1.619, allocations: 3.938 kB / 1.553 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003608/1.622, allocations: 1.224 MB / 1.554 GB, free: 15.63 MB / 1.186 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.01244/1.635, allocations: 7.483 MB / 1.561 GB, free: 8.059 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007434/1.642, allocations: 3.943 MB / 1.565 GB, free: 4.102 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.642, allocations: 5.312 kB / 1.565 GB, free: 4.098 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003918/1.646, allocations: 2.152 MB / 1.567 GB, free: 1.945 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008882/1.655, allocations: 1.606 MB / 1.569 GB, free: 376 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05057/1.706, allocations: 25.7 MB / 1.594 GB, free: 6.297 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/1.708, allocations: 2.205 MB / 1.596 GB, free: 4.055 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.004779/1.713, allocations: 1.208 MB / 1.597 GB, free: 2.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002882/1.716, allocations: 1.39 MB / 1.599 GB, free: 1.449 MB / 1.217 GB Notification: Performance of SimCode: time 1.182e-06/1.716, allocations: 0 / 1.599 GB, free: 1.449 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.855, allocations: 86.99 MB / 1.684 GB, free: 11.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/23.95, allocations: 18.77 kB / 1.684 GB, free: 11.18 MB / 1.311 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches