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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.00714/0.00714, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001607/0.001607, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 64.03 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7081, allocations: 151.6 MB / 1.166 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2583/0.9664, allocations: 295.1 MB / 1.454 GB, free: 11.65 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02223/0.9887, allocations: 17.01 MB / 1.471 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.9918, allocations: 75.62 kB / 1.471 GB, free: 10.53 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004969/0.9968, allocations: 1.982 MB / 1.473 GB, free: 8.539 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01509/1.012, allocations: 6.622 MB / 1.479 GB, free: 1.891 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007174/1.019, allocations: 2.988 MB / 1.482 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.009425/1.029, allocations: 7.711 MB / 1.49 GB, free: 7.168 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/1.032, allocations: 2.579 MB / 1.492 GB, free: 4.527 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005292/1.037, allocations: 2.854 MB / 1.495 GB, free: 1.664 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/1.042, allocations: 2.713 MB / 1.498 GB, free: 14.95 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000676/1.043, allocations: 324 kB / 1.498 GB, free: 14.64 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/1.055, allocations: 6.196 MB / 1.504 GB, free: 8.426 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002177/1.057, allocations: 1.336 MB / 1.506 GB, free: 7.086 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/1.06, allocations: 1.886 MB / 1.507 GB, free: 5.191 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01298/1.073, allocations: 6.876 MB / 1.514 GB, free: 14.3 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.073, allocations: 4 kB / 1.514 GB, free: 14.29 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.884e-06/1.073, allocations: 4 kB / 1.514 GB, free: 14.29 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.833e-05/1.073, allocations: 0 / 1.514 GB, free: 14.29 MB / 1.248 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.009489/1.083, allocations: 4.127 MB / 1.518 GB, free: 10.09 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.083, allocations: 12.91 kB / 1.518 GB, free: 10.08 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004242/1.083, allocations: 363 kB / 1.518 GB, free: 9.719 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/1.089, allocations: 0.9211 MB / 1.519 GB, free: 8.793 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/1.093, allocations: 1.92 MB / 1.521 GB, free: 6.816 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.093, allocations: 193.1 kB / 1.521 GB, free: 6.625 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/1.093, allocations: 259.9 kB / 1.522 GB, free: 6.371 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/1.098, allocations: 3.334 MB / 1.525 GB, free: 2.934 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/1.098, allocations: 7.938 kB / 1.525 GB, free: 2.926 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.099, allocations: 108 kB / 1.525 GB, free: 2.82 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/1.099, allocations: 141 kB / 1.525 GB, free: 2.68 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005332/1.104, allocations: 3.502 MB / 1.529 GB, free: 15.16 MB / 1.264 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.01519/1.119, allocations: 12.14 MB / 1.54 GB, free: 2.125 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004469/1.124, allocations: 3.522 MB / 1.544 GB, free: 14.54 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00267/1.126, allocations: 1.841 MB / 1.546 GB, free: 12.68 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/1.128, allocations: 1.494 MB / 1.547 GB, free: 10.88 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/1.128, allocations: 68.69 kB / 1.547 GB, free: 10.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 4.689e-06/1.128, allocations: 0 / 1.547 GB, free: 10.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.006095/1.134, allocations: 3.885 MB / 1.551 GB, free: 6.859 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.134, allocations: 77.59 kB / 1.551 GB, free: 6.77 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/1.136, allocations: 1.387 MB / 1.552 GB, free: 5.375 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/1.136, allocations: 73.7 kB / 1.552 GB, free: 5.297 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/1.137, allocations: 0.9765 MB / 1.553 GB, free: 4.309 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007436/1.137, allocations: 0.947 MB / 1.554 GB, free: 3.348 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005888/1.138, allocations: 408.9 kB / 1.555 GB, free: 2.941 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/1.138, allocations: 305.1 kB / 1.555 GB, free: 2.641 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/1.14, allocations: 1.09 MB / 1.556 GB, free: 1.547 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.142, allocations: 1.362 MB / 1.557 GB, free: 120 kB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5422/1.684, allocations: 2.642 MB / 1.56 GB, free: 383.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.684, allocations: 4.406 kB / 1.56 GB, free: 383.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004561/1.688, allocations: 2.974 MB / 1.563 GB, free: 382.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.688, allocations: 5.5 kB / 1.563 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.688, allocations: 7.719 kB / 1.563 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.689, allocations: 19.69 kB / 1.563 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/1.69, allocations: 0.5107 MB / 1.563 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/1.691, allocations: 16.48 kB / 1.563 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.692, allocations: 183.2 kB / 1.564 GB, free: 382.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.692, allocations: 85.08 kB / 1.564 GB, free: 382.2 MB / 1.279 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.00093/1.693, allocations: 0.6457 MB / 1.564 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/1.694, allocations: 236.9 kB / 1.565 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/1.698, allocations: 3.116 MB / 1.568 GB, free: 380.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/1.698, allocations: 24.39 kB / 1.568 GB, free: 380.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.698, allocations: 3.938 kB / 1.568 GB, free: 380.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003108/1.701, allocations: 2.65 MB / 1.57 GB, free: 379.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/1.708, allocations: 6.22 MB / 1.576 GB, free: 376.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.708, allocations: 0 / 1.576 GB, free: 376.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.711, allocations: 0.5412 MB / 1.577 GB, free: 376.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/1.711, allocations: 11.19 kB / 1.577 GB, free: 376.8 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/1.711, allocations: 60.52 kB / 1.577 GB, free: 376.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.711, allocations: 13.88 kB / 1.577 GB, free: 376.8 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.711, allocations: 0 / 1.577 GB, free: 376.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/1.716, allocations: 4.57 MB / 1.581 GB, free: 373.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/1.717, allocations: 0.6102 MB / 1.582 GB, free: 372.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.717, allocations: 55.78 kB / 1.582 GB, free: 372.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.718, allocations: 65.88 kB / 1.582 GB, free: 372.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.718, allocations: 163.7 kB / 1.582 GB, free: 372.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.719, allocations: 87.56 kB / 1.582 GB, free: 372.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009603/1.72, allocations: 0.9423 MB / 1.583 GB, free: 371.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/1.72, allocations: 0 / 1.583 GB, free: 371.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001564/1.721, allocations: 0.9823 MB / 1.584 GB, free: 370.7 MB / 1.279 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.005492/1.727, allocations: 5.39 MB / 1.59 GB, free: 365.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003219/1.73, allocations: 2.769 MB / 1.592 GB, free: 362.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.73, allocations: 4 kB / 1.592 GB, free: 362.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/1.731, allocations: 1.511 MB / 1.594 GB, free: 361.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/1.736, allocations: 1.345 MB / 1.595 GB, free: 359.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.757, allocations: 19.43 MB / 1.614 GB, free: 340.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009626/1.758, allocations: 1.895 MB / 1.616 GB, free: 338.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002244/1.76, allocations: 0.8436 MB / 1.617 GB, free: 337.7 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.761, allocations: 1.085 MB / 1.618 GB, free: 336.6 MB / 1.279 GB Notification: Performance of SimCode: time 6.81e-07/1.761, allocations: 4 kB / 1.618 GB, free: 336.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08409/1.845, allocations: 68.25 MB / 1.684 GB, free: 269 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.79, allocations: 11.98 kB / 1.684 GB, free: 269 MB / 1.279 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches