Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_10_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.001354/0.001354, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.379/2.379, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 0.8693 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5812, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 0.7728/1.354, allocations: 245.7 MB / 1.257 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02007/1.374, allocations: 14.39 MB / 1.271 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003824/1.378, allocations: 75.62 kB / 1.271 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/1.382, allocations: 1.26 MB / 1.273 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01415/1.396, allocations: 4.661 MB / 1.277 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/1.402, allocations: 1.861 MB / 1.279 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007778/1.41, allocations: 6.22 MB / 1.285 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/1.413, allocations: 1.982 MB / 1.287 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/1.416, allocations: 2.136 MB / 1.289 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003048/1.419, allocations: 2.025 MB / 1.291 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003687/1.42, allocations: 248.4 kB / 1.291 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008436/1.428, allocations: 4.513 MB / 1.296 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009391/1.429, allocations: 1.052 MB / 1.297 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/1.431, allocations: 1.446 MB / 1.298 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006863/1.438, allocations: 5.231 MB / 1.303 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/1.438, allocations: 5.406 kB / 1.303 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/1.438, allocations: 0 / 1.303 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.395e-05/1.438, allocations: 0.5312 kB / 1.303 GB, free: 0.8242 MB / 0.9981 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.005872/1.443, allocations: 3.197 MB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/1.444, allocations: 8.312 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002946/1.444, allocations: 283 kB / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/1.448, allocations: 0.6731 MB / 1.307 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/1.45, allocations: 1.566 MB / 1.309 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/1.45, allocations: 145.2 kB / 1.309 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/1.45, allocations: 194.3 kB / 1.309 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/1.453, allocations: 2.409 MB / 1.312 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.453, allocations: 9.828 kB / 1.312 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/1.453, allocations: 83.09 kB / 1.312 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.259e-05/1.454, allocations: 89.7 kB / 1.312 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/1.457, allocations: 2.609 MB / 1.314 GB, free: 14.66 MB / 1.014 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.008535/1.465, allocations: 7.947 MB / 1.322 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/1.468, allocations: 2.327 MB / 1.324 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/1.469, allocations: 1.333 MB / 1.326 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/1.471, allocations: 1.554 MB / 1.327 GB, free: 9.812 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.471, allocations: 62.78 kB / 1.327 GB, free: 9.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=222): time 3.257e-06/1.471, allocations: 0 / 1.327 GB, free: 9.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=226): time 0.008841/1.48, allocations: 6.467 MB / 1.334 GB, free: 8.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/1.48, allocations: 101.7 kB / 1.334 GB, free: 8.316 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.481, allocations: 1.22 MB / 1.335 GB, free: 8.152 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.481, allocations: 65.7 kB / 1.335 GB, free: 8.121 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/1.481, allocations: 0.7566 MB / 1.336 GB, free: 7.828 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/1.482, allocations: 0.7673 MB / 1.336 GB, free: 7.328 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/1.482, allocations: 345.7 kB / 1.337 GB, free: 7.301 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/1.483, allocations: 307.2 kB / 1.337 GB, free: 7.004 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/1.484, allocations: 0.8636 MB / 1.338 GB, free: 7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.485, allocations: 1.117 MB / 1.339 GB, free: 6.824 MB / 1.014 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.06469/1.55, allocations: 11.71 MB / 1.35 GB, free: 4.473 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.55, allocations: 4.312 kB / 1.35 GB, free: 4.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003584/1.553, allocations: 2.389 MB / 1.353 GB, free: 3.328 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.553, allocations: 9.469 kB / 1.353 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.553, allocations: 6.812 kB / 1.353 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.553, allocations: 14.81 kB / 1.353 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.555, allocations: 432.7 kB / 1.353 GB, free: 3.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.714e-05/1.555, allocations: 10.59 kB / 1.353 GB, free: 3.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/1.557, allocations: 61.48 kB / 1.353 GB, free: 3.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/1.557, allocations: 74.3 kB / 1.353 GB, free: 3.195 MB / 1.014 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.000954/1.558, allocations: 0.5568 MB / 1.354 GB, free: 2.832 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/1.559, allocations: 200.7 kB / 1.354 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/1.562, allocations: 2.536 MB / 1.357 GB, free: 1.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.562, allocations: 21.03 kB / 1.357 GB, free: 1.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/1.562, allocations: 10.78 kB / 1.357 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00259/1.565, allocations: 2.108 MB / 1.359 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007288/1.572, allocations: 5.322 MB / 1.364 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.572, allocations: 8 kB / 1.364 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.574, allocations: 465.7 kB / 1.364 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/1.574, allocations: 16 kB / 1.364 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.574, allocations: 55.98 kB / 1.364 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/1.574, allocations: 16 kB / 1.364 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.574, allocations: 11.09 kB / 1.364 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004701/1.579, allocations: 3.937 MB / 1.368 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008354/1.58, allocations: 0.4946 MB / 1.369 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/1.58, allocations: 48 kB / 1.369 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.581, allocations: 63.97 kB / 1.369 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/1.582, allocations: 147.9 kB / 1.369 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.582, allocations: 79.97 kB / 1.369 GB, free: 5.836 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009862/1.583, allocations: 0.8395 MB / 1.37 GB, free: 4.996 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.583, allocations: 4 kB / 1.37 GB, free: 4.992 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001564/1.584, allocations: 0.6874 MB / 1.37 GB, free: 4.305 MB / 1.029 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.00538/1.59, allocations: 4.722 MB / 1.375 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005148/1.595, allocations: 3.359 MB / 1.378 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.595, allocations: 4 kB / 1.378 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/1.596, allocations: 1.168 MB / 1.38 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.601, allocations: 1.184 MB / 1.381 GB, free: 9.969 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.621, allocations: 17.49 MB / 1.398 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.623, allocations: 1.662 MB / 1.399 GB, free: 5.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002391/1.625, allocations: 0.7548 MB / 1.4 GB, free: 5.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.626, allocations: 0.8351 MB / 1.401 GB, free: 4.23 MB / 1.061 GB Notification: Performance of SimCode: time 7.91e-07/1.626, allocations: 0 / 1.401 GB, free: 4.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.087/1.713, allocations: 56.1 MB / 1.456 GB, free: 12.91 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/9.863, allocations: 0 / 1.456 GB, free: 12.91 MB / 1.123 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches