Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.007254/0.007254, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001455/0.001455, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.427/1.427, 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 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.36 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2654, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.9007/1.166, allocations: 245.7 MB / 1.327 GB, free: 2.566 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02094/1.187, allocations: 14.39 MB / 1.341 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/1.191, allocations: 81.56 kB / 1.342 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003789/1.195, allocations: 1.31 MB / 1.343 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0131/1.208, allocations: 4.827 MB / 1.348 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005622/1.214, allocations: 1.893 MB / 1.349 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008861/1.223, allocations: 6.244 MB / 1.355 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/1.226, allocations: 1.974 MB / 1.357 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/1.231, allocations: 2.236 MB / 1.36 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/1.235, allocations: 2.032 MB / 1.362 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005976/1.236, allocations: 247.5 kB / 1.362 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009743/1.245, allocations: 4.526 MB / 1.366 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001646/1.247, allocations: 1.047 MB / 1.367 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003662/1.251, allocations: 1.449 MB / 1.369 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01216/1.263, allocations: 5.295 MB / 1.374 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.263, allocations: 0 / 1.374 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.073e-06/1.263, allocations: 0 / 1.374 GB, free: 10.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001416/1.263, allocations: 0 / 1.374 GB, free: 10.38 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008626/1.272, allocations: 3.281 MB / 1.377 GB, free: 8.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.272, allocations: 7.062 kB / 1.377 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004446/1.272, allocations: 285.3 kB / 1.377 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/1.277, allocations: 0.6814 MB / 1.378 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/1.281, allocations: 1.655 MB / 1.38 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.281, allocations: 146.7 kB / 1.38 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/1.281, allocations: 193.7 kB / 1.38 GB, free: 7.008 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/1.285, allocations: 2.427 MB / 1.382 GB, free: 5.637 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/1.285, allocations: 3.953 kB / 1.382 GB, free: 5.633 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/1.286, allocations: 78.53 kB / 1.382 GB, free: 5.574 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.173e-05/1.286, allocations: 92.98 kB / 1.382 GB, free: 5.559 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/1.29, allocations: 2.608 MB / 1.385 GB, free: 4.312 MB / 1.029 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.01235/1.302, allocations: 8.066 MB / 1.393 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/1.305, allocations: 2.354 MB / 1.395 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/1.307, allocations: 1.337 MB / 1.396 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.309, allocations: 1.559 MB / 1.398 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/1.309, allocations: 69.17 kB / 1.398 GB, free: 10.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=222): time 4.629e-06/1.309, allocations: 0 / 1.398 GB, free: 10.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=226): time 0.01224/1.321, allocations: 6.956 MB / 1.405 GB, free: 6.156 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/1.321, allocations: 157.5 kB / 1.405 GB, free: 5.996 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.323, allocations: 1.216 MB / 1.406 GB, free: 4.957 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/1.323, allocations: 73.77 kB / 1.406 GB, free: 4.879 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/1.324, allocations: 0.7699 MB / 1.407 GB, free: 4.102 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007709/1.325, allocations: 0.7972 MB / 1.408 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/1.325, allocations: 351.5 kB / 1.408 GB, free: 2.965 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/1.325, allocations: 301.1 kB / 1.408 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/1.327, allocations: 0.8667 MB / 1.409 GB, free: 1.801 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.328, allocations: 1.126 MB / 1.41 GB, free: 0.6016 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0706/1.399, allocations: 11.71 MB / 1.422 GB, free: 4.812 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.399, allocations: 0 / 1.422 GB, free: 4.812 MB / 1.061 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004651/1.403, allocations: 2.405 MB / 1.424 GB, free: 2.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/1.403, allocations: 8 kB / 1.424 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.403, allocations: 4 kB / 1.424 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/1.404, allocations: 19.94 kB / 1.424 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.405, allocations: 425.8 kB / 1.425 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.506e-05/1.405, allocations: 18.62 kB / 1.425 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.408, allocations: 68.25 kB / 1.425 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/1.408, allocations: 72.84 kB / 1.425 GB, free: 1.852 MB / 1.061 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (254): * Single equations (assignments): 254 * 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.001255/1.409, allocations: 0.5578 MB / 1.425 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006694/1.41, allocations: 209.7 kB / 1.425 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/1.414, allocations: 2.531 MB / 1.428 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/1.414, allocations: 24 kB / 1.428 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.414, allocations: 4 kB / 1.428 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003163/1.417, allocations: 2.092 MB / 1.43 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009902/1.427, allocations: 5.355 MB / 1.435 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.427, allocations: 8.031 kB / 1.435 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.429, allocations: 470.5 kB / 1.436 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-05/1.429, allocations: 12 kB / 1.436 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/1.43, allocations: 55.98 kB / 1.436 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-05/1.43, allocations: 23.08 kB / 1.436 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.43, allocations: 11.94 kB / 1.436 GB, free: 6.496 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/1.435, allocations: 4.099 MB / 1.44 GB, free: 2.312 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.437, allocations: 0.5035 MB / 1.44 GB, free: 1.789 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005078/1.437, allocations: 47.98 kB / 1.44 GB, free: 1.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/1.439, allocations: 57.61 kB / 1.44 GB, free: 1.688 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/1.44, allocations: 152.7 kB / 1.441 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.44, allocations: 79.97 kB / 1.441 GB, free: 1.461 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001148/1.441, allocations: 0.8434 MB / 1.441 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.441, allocations: 0 / 1.441 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002208/1.443, allocations: 0.6796 MB / 1.442 GB, free: 15.93 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,dooDis.mExcBA,dooDis.mExcAB) * 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 (230): * Single equations (assignments): 230 * 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.005894/1.449, allocations: 4.896 MB / 1.447 GB, free: 10.99 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003248/1.452, allocations: 2.206 MB / 1.449 GB, free: 8.828 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.452, allocations: 4 kB / 1.449 GB, free: 8.824 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/1.454, allocations: 1.166 MB / 1.45 GB, free: 7.715 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/1.46, allocations: 1.188 MB / 1.451 GB, free: 6.551 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.483, allocations: 16.47 MB / 1.467 GB, free: 5.648 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.485, allocations: 1.651 MB / 1.469 GB, free: 3.957 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002773/1.487, allocations: 0.7587 MB / 1.47 GB, free: 3.195 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.489, allocations: 0.8351 MB / 1.471 GB, free: 2.359 MB / 1.107 GB Notification: Performance of SimCode: time 1.052e-06/1.489, allocations: 0 / 1.471 GB, free: 2.359 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09519/1.584, allocations: 56.42 MB / 1.526 GB, free: 10.58 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/13.17, allocations: 11.02 kB / 1.526 GB, free: 10.57 MB / 1.17 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches