Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",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.007644/0.007644, allocations: 101.7 kB / 15.73 MB, free: 6.07 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.001757/0.001757, allocations: 196.5 kB / 16.68 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.217/2.217, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.88 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7622, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 0.266/1.028, allocations: 245.7 MB / 1.327 GB, free: 7.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02285/1.051, allocations: 14.39 MB / 1.341 GB, free: 9.395 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/1.055, allocations: 79.56 kB / 1.342 GB, free: 9.316 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003617/1.058, allocations: 1.309 MB / 1.343 GB, free: 8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01281/1.071, allocations: 4.834 MB / 1.348 GB, free: 3.148 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/1.077, allocations: 1.888 MB / 1.349 GB, free: 1.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008697/1.085, allocations: 6.24 MB / 1.355 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/1.089, allocations: 1.979 MB / 1.357 GB, free: 8.996 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004772/1.094, allocations: 2.231 MB / 1.36 GB, free: 6.758 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004492/1.098, allocations: 2.029 MB / 1.362 GB, free: 4.734 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008702/1.099, allocations: 252 kB / 1.362 GB, free: 4.488 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/1.109, allocations: 4.533 MB / 1.366 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/1.111, allocations: 1.048 MB / 1.367 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003344/1.114, allocations: 1.447 MB / 1.369 GB, free: 13.43 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.125, allocations: 5.288 MB / 1.374 GB, free: 8.125 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.125, allocations: 4 kB / 1.374 GB, free: 8.121 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.114e-06/1.125, allocations: 4 kB / 1.374 GB, free: 8.117 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001393/1.126, allocations: 0 / 1.374 GB, free: 8.117 MB / 1.107 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.009/1.135, allocations: 3.273 MB / 1.377 GB, free: 4.781 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.135, allocations: 12.03 kB / 1.377 GB, free: 4.77 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006338/1.135, allocations: 286.5 kB / 1.377 GB, free: 4.48 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/1.14, allocations: 0.6814 MB / 1.378 GB, free: 3.797 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/1.144, allocations: 1.656 MB / 1.38 GB, free: 2.086 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.144, allocations: 147.8 kB / 1.38 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/1.145, allocations: 196 kB / 1.38 GB, free: 1.75 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004724/1.149, allocations: 2.404 MB / 1.382 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-05/1.149, allocations: 3.984 kB / 1.382 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/1.15, allocations: 87.98 kB / 1.382 GB, free: 15.23 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.15, allocations: 84.3 kB / 1.382 GB, free: 15.15 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/1.154, allocations: 2.609 MB / 1.385 GB, free: 12.54 MB / 1.123 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.01246/1.167, allocations: 7.914 MB / 1.393 GB, free: 4.113 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/1.17, allocations: 2.342 MB / 1.395 GB, free: 1.762 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/1.172, allocations: 1.326 MB / 1.396 GB, free: 448 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/1.173, allocations: 1.552 MB / 1.398 GB, free: 14.55 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/1.173, allocations: 60.44 kB / 1.398 GB, free: 14.48 MB / 1.139 GB Notification: Performance of pre-optimization done (n=222): time 3.907e-06/1.173, allocations: 0 / 1.398 GB, free: 14.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=226): time 0.01167/1.185, allocations: 6.531 MB / 1.404 GB, free: 7.812 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/1.185, allocations: 107.1 kB / 1.404 GB, free: 7.691 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/1.187, allocations: 1.209 MB / 1.406 GB, free: 6.469 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.187, allocations: 69.7 kB / 1.406 GB, free: 6.395 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/1.188, allocations: 0.7699 MB / 1.406 GB, free: 5.617 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007311/1.189, allocations: 0.8055 MB / 1.407 GB, free: 4.805 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/1.189, allocations: 343.5 kB / 1.407 GB, free: 4.461 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/1.189, allocations: 305.1 kB / 1.408 GB, free: 4.16 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/1.191, allocations: 0.8667 MB / 1.409 GB, free: 3.293 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/1.192, allocations: 1.124 MB / 1.41 GB, free: 2.105 MB / 1.139 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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.07256/1.265, allocations: 11.69 MB / 1.421 GB, free: 6.316 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.265, allocations: 7.938 kB / 1.421 GB, free: 6.309 MB / 1.154 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004287/1.269, allocations: 2.401 MB / 1.423 GB, free: 3.898 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/1.269, allocations: 8 kB / 1.423 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.269, allocations: 4 kB / 1.423 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/1.269, allocations: 12 kB / 1.423 GB, free: 3.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.271, allocations: 423.4 kB / 1.424 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.537e-05/1.271, allocations: 19.94 kB / 1.424 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.273, allocations: 52.14 kB / 1.424 GB, free: 3.391 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/1.273, allocations: 75.98 kB / 1.424 GB, free: 3.316 MB / 1.154 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: 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 (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.001088/1.274, allocations: 0.5641 MB / 1.425 GB, free: 2.742 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/1.275, allocations: 210.7 kB / 1.425 GB, free: 2.535 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/1.279, allocations: 2.519 MB / 1.427 GB, free: 0 / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.279, allocations: 24.05 kB / 1.427 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.279, allocations: 3.938 kB / 1.427 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002991/1.282, allocations: 2.109 MB / 1.429 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008669/1.291, allocations: 5.324 MB / 1.435 GB, free: 8.383 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.291, allocations: 11.94 kB / 1.435 GB, free: 8.371 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.293, allocations: 464.2 kB / 1.435 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.64e-05/1.293, allocations: 16.05 kB / 1.435 GB, free: 7.902 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.293, allocations: 55.97 kB / 1.435 GB, free: 7.848 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-05/1.293, allocations: 19.94 kB / 1.435 GB, free: 7.828 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.293, allocations: 11.94 kB / 1.435 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005279/1.299, allocations: 3.945 MB / 1.439 GB, free: 3.781 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.3, allocations: 0.4996 MB / 1.439 GB, free: 3.262 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/1.3, allocations: 47.98 kB / 1.439 GB, free: 3.215 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.302, allocations: 64.75 kB / 1.44 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.302, allocations: 153.5 kB / 1.44 GB, free: 3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.302, allocations: 83.97 kB / 1.44 GB, free: 2.918 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001191/1.303, allocations: 0.8317 MB / 1.441 GB, free: 2.086 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.303, allocations: 0 / 1.441 GB, free: 2.086 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001801/1.305, allocations: 0.6912 MB / 1.441 GB, free: 1.395 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,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) * 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.006144/1.311, allocations: 4.74 MB / 1.446 GB, free: 12.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003366/1.315, allocations: 2.206 MB / 1.448 GB, free: 10.36 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.315, allocations: 5.062 kB / 1.448 GB, free: 10.35 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/1.316, allocations: 1.17 MB / 1.449 GB, free: 9.188 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005465/1.322, allocations: 1.177 MB / 1.45 GB, free: 8.035 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/1.345, allocations: 16.29 MB / 1.466 GB, free: 7.242 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.347, allocations: 1.651 MB / 1.468 GB, free: 5.551 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00247/1.349, allocations: 0.7548 MB / 1.469 GB, free: 4.793 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.351, allocations: 0.8351 MB / 1.469 GB, free: 3.957 MB / 1.201 GB Notification: Performance of SimCode: time 1.213e-06/1.351, allocations: 0 / 1.469 GB, free: 3.957 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09298/1.444, allocations: 56.47 MB / 1.525 GB, free: 12.21 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.93, allocations: 13.34 kB / 1.525 GB, free: 12.2 MB / 1.264 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_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_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches