Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_10_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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 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.001157/0.001157, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.384/2.384, allocations: 437.1 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6182, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.7919/1.41, allocations: 245.7 MB / 1.257 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02153/1.432, allocations: 14.38 MB / 1.271 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/1.436, allocations: 77.81 kB / 1.271 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003983/1.44, allocations: 1.261 MB / 1.273 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01415/1.454, allocations: 4.669 MB / 1.277 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006335/1.46, allocations: 1.857 MB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01002/1.47, allocations: 6.226 MB / 1.285 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/1.474, allocations: 1.978 MB / 1.287 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005339/1.48, allocations: 2.135 MB / 1.289 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004758/1.484, allocations: 2.028 MB / 1.291 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006243/1.485, allocations: 249.1 kB / 1.291 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/1.495, allocations: 4.513 MB / 1.296 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001495/1.497, allocations: 1.052 MB / 1.297 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/1.499, allocations: 1.442 MB / 1.298 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/1.51, allocations: 5.235 MB / 1.303 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.51, allocations: 1.594 kB / 1.303 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.51, allocations: 3.938 kB / 1.303 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.216e-05/1.51, allocations: 1.094 kB / 1.303 GB, free: 0.8867 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.006825/1.517, allocations: 3.192 MB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.517, allocations: 16.25 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003174/1.518, allocations: 282.9 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/1.522, allocations: 0.6728 MB / 1.307 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/1.524, allocations: 1.565 MB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.54e-05/1.524, allocations: 141.4 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/1.525, allocations: 195 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/1.528, allocations: 2.419 MB / 1.312 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/1.528, allocations: 5.469 kB / 1.312 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/1.528, allocations: 82.19 kB / 1.312 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-05/1.528, allocations: 95.02 kB / 1.312 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/1.532, allocations: 2.609 MB / 1.314 GB, free: 14.71 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.009997/1.542, allocations: 8.099 MB / 1.322 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/1.545, allocations: 2.355 MB / 1.325 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/1.546, allocations: 1.341 MB / 1.326 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/1.548, allocations: 1.554 MB / 1.327 GB, free: 9.633 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/1.548, allocations: 72.8 kB / 1.327 GB, free: 9.582 MB / 1.014 GB Notification: Performance of pre-optimization done (n=222): time 3.787e-06/1.548, allocations: 0 / 1.327 GB, free: 9.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=226): time 0.01056/1.558, allocations: 6.859 MB / 1.334 GB, free: 7.934 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/1.558, allocations: 155.9 kB / 1.334 GB, free: 7.777 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/1.56, allocations: 1.224 MB / 1.335 GB, free: 7.609 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/1.56, allocations: 69.52 kB / 1.336 GB, free: 7.578 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/1.561, allocations: 0.757 MB / 1.336 GB, free: 7.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007073/1.561, allocations: 0.7599 MB / 1.337 GB, free: 6.789 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/1.562, allocations: 347 kB / 1.337 GB, free: 6.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.193e-05/1.562, allocations: 306.1 kB / 1.338 GB, free: 6.465 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.563, allocations: 0.8631 MB / 1.338 GB, free: 6.461 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.565, allocations: 1.124 MB / 1.34 GB, free: 6.27 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.06659/1.631, allocations: 11.72 MB / 1.351 GB, free: 3.848 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.631, allocations: 2.938 kB / 1.351 GB, free: 3.848 MB / 1.014 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004288/1.636, allocations: 2.396 MB / 1.353 GB, free: 2.699 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.636, allocations: 15.78 kB / 1.353 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/1.636, allocations: 2.688 kB / 1.353 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.445e-05/1.636, allocations: 18.31 kB / 1.353 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.637, allocations: 426.2 kB / 1.354 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.568e-05/1.637, allocations: 13.44 kB / 1.354 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.639, allocations: 62.64 kB / 1.354 GB, free: 2.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/1.639, allocations: 77.64 kB / 1.354 GB, free: 2.562 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: 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.00105/1.64, allocations: 0.5671 MB / 1.355 GB, free: 2.191 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/1.641, allocations: 197 kB / 1.355 GB, free: 2.094 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/1.645, allocations: 2.532 MB / 1.357 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.645, allocations: 21.84 kB / 1.357 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/1.645, allocations: 1.406 kB / 1.357 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002782/1.648, allocations: 2.096 MB / 1.359 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/1.656, allocations: 5.358 MB / 1.364 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.656, allocations: 8 kB / 1.364 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.658, allocations: 460.8 kB / 1.365 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-05/1.658, allocations: 16 kB / 1.365 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/1.658, allocations: 59.98 kB / 1.365 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-05/1.658, allocations: 23.42 kB / 1.365 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.658, allocations: 15.09 kB / 1.365 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/1.663, allocations: 4.084 MB / 1.369 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.664, allocations: 0.4907 MB / 1.37 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/1.665, allocations: 51.98 kB / 1.37 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.667, allocations: 60.94 kB / 1.37 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.667, allocations: 155.8 kB / 1.37 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.667, allocations: 79.97 kB / 1.37 GB, free: 4.891 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001211/1.668, allocations: 0.8356 MB / 1.371 GB, free: 4.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.668, allocations: 0 / 1.371 GB, free: 4.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001962/1.67, allocations: 0.6797 MB / 1.371 GB, free: 3.375 MB / 1.029 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.005771/1.676, allocations: 4.892 MB / 1.376 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005466/1.681, allocations: 3.347 MB / 1.379 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.681, allocations: 0 / 1.379 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.683, allocations: 1.169 MB / 1.381 GB, free: 10.04 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005501/1.688, allocations: 1.179 MB / 1.382 GB, free: 8.887 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.711, allocations: 17.67 MB / 1.399 GB, free: 6.234 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.712, allocations: 1.647 MB / 1.401 GB, free: 4.551 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002528/1.715, allocations: 0.7548 MB / 1.401 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.716, allocations: 0.8421 MB / 1.402 GB, free: 2.957 MB / 1.061 GB Notification: Performance of SimCode: time 7.92e-07/1.716, allocations: 0 / 1.402 GB, free: 2.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08836/1.804, allocations: 56.03 MB / 1.457 GB, free: 11.66 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/9.964, allocations: 7.688 kB / 1.457 GB, free: 11.66 MB / 1.123 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches