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.006587/0.006587, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.001563/0.001563, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.411/2.411, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 62.75 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3165, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.8841/1.201, allocations: 245.7 MB / 1.327 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02003/1.221, allocations: 14.4 MB / 1.341 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/1.224, allocations: 75.81 kB / 1.342 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003566/1.228, allocations: 1.315 MB / 1.343 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/1.241, allocations: 4.829 MB / 1.348 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/1.246, allocations: 1.892 MB / 1.349 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008758/1.255, allocations: 6.233 MB / 1.355 GB, free: 64 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/1.258, allocations: 1.978 MB / 1.357 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/1.263, allocations: 2.236 MB / 1.36 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004225/1.267, allocations: 2.019 MB / 1.362 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007702/1.268, allocations: 248.1 kB / 1.362 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009312/1.277, allocations: 4.531 MB / 1.366 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/1.279, allocations: 1.052 MB / 1.367 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003538/1.283, allocations: 1.447 MB / 1.369 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.294, allocations: 5.278 MB / 1.374 GB, free: 10.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.294, allocations: 3.938 kB / 1.374 GB, free: 10.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/1.294, allocations: 0 / 1.374 GB, free: 10.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001628/1.294, allocations: 0 / 1.374 GB, free: 10.41 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.008981/1.303, allocations: 3.192 MB / 1.377 GB, free: 8.637 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.303, allocations: 15.06 kB / 1.377 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006399/1.304, allocations: 279 kB / 1.377 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004565/1.309, allocations: 0.6757 MB / 1.378 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/1.312, allocations: 1.644 MB / 1.379 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/1.312, allocations: 146 kB / 1.38 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/1.312, allocations: 203 kB / 1.38 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/1.316, allocations: 2.415 MB / 1.382 GB, free: 5.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/1.316, allocations: 10.33 kB / 1.382 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/1.316, allocations: 84.83 kB / 1.382 GB, free: 5.699 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.942e-05/1.316, allocations: 86.97 kB / 1.382 GB, free: 5.688 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/1.32, allocations: 2.611 MB / 1.385 GB, free: 4.438 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.0101/1.33, allocations: 8.043 MB / 1.393 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/1.333, allocations: 2.358 MB / 1.395 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/1.335, allocations: 1.332 MB / 1.396 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/1.336, allocations: 1.563 MB / 1.398 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/1.336, allocations: 65.12 kB / 1.398 GB, free: 10.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=222): time 4.088e-06/1.336, allocations: 0 / 1.398 GB, free: 10.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=226): time 0.0117/1.348, allocations: 6.851 MB / 1.405 GB, free: 6.395 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/1.348, allocations: 169.5 kB / 1.405 GB, free: 6.227 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/1.35, allocations: 1.209 MB / 1.406 GB, free: 5.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.35, allocations: 65.7 kB / 1.406 GB, free: 5.129 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/1.35, allocations: 0.7592 MB / 1.407 GB, free: 4.363 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007492/1.351, allocations: 0.7681 MB / 1.408 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005612/1.352, allocations: 347.5 kB / 1.408 GB, free: 3.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.352, allocations: 301.1 kB / 1.408 GB, free: 2.957 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.353, allocations: 0.8706 MB / 1.409 GB, free: 2.086 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.355, allocations: 1.124 MB / 1.41 GB, free: 0.8906 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.06568/1.42, allocations: 11.7 MB / 1.422 GB, free: 5.105 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.42, allocations: 0 / 1.422 GB, free: 5.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004766/1.425, allocations: 2.397 MB / 1.424 GB, free: 2.727 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.425, allocations: 11.98 kB / 1.424 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.425, allocations: 4 kB / 1.424 GB, free: 2.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/1.425, allocations: 16.53 kB / 1.424 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.427, allocations: 427.6 kB / 1.424 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-05/1.427, allocations: 18.7 kB / 1.424 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.429, allocations: 63.83 kB / 1.424 GB, free: 2.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/1.429, allocations: 75.92 kB / 1.424 GB, free: 2.148 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.001132/1.43, allocations: 0.5586 MB / 1.425 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/1.431, allocations: 197.7 kB / 1.425 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/1.435, allocations: 2.529 MB / 1.428 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.435, allocations: 20 kB / 1.428 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.435, allocations: 4 kB / 1.428 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00307/1.438, allocations: 2.096 MB / 1.43 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009723/1.448, allocations: 5.366 MB / 1.435 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.448, allocations: 4 kB / 1.435 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.45, allocations: 464.2 kB / 1.435 GB, free: 6.902 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.412e-05/1.45, allocations: 12 kB / 1.435 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/1.45, allocations: 63.36 kB / 1.435 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-05/1.451, allocations: 20 kB / 1.435 GB, free: 6.812 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.451, allocations: 7.281 kB / 1.435 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/1.456, allocations: 4.083 MB / 1.439 GB, free: 2.637 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.458, allocations: 0.4985 MB / 1.44 GB, free: 2.117 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005435/1.458, allocations: 44 kB / 1.44 GB, free: 2.074 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.46, allocations: 65.12 kB / 1.44 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/1.46, allocations: 163.6 kB / 1.44 GB, free: 1.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.461, allocations: 75.98 kB / 1.44 GB, free: 1.781 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001396/1.462, allocations: 0.8356 MB / 1.441 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/1.462, allocations: 0 / 1.441 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002479/1.464, allocations: 0.6836 MB / 1.442 GB, free: 268 kB / 1.076 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.006591/1.471, allocations: 4.883 MB / 1.447 GB, free: 11.33 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003432/1.475, allocations: 2.21 MB / 1.449 GB, free: 9.16 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.475, allocations: 3.938 kB / 1.449 GB, free: 9.156 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.476, allocations: 1.172 MB / 1.45 GB, free: 8.043 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00604/1.482, allocations: 1.178 MB / 1.451 GB, free: 6.891 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/1.508, allocations: 16.4 MB / 1.467 GB, free: 6.066 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/1.51, allocations: 1.647 MB / 1.469 GB, free: 4.379 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002523/1.513, allocations: 0.7548 MB / 1.469 GB, free: 3.621 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/1.514, allocations: 0.8351 MB / 1.47 GB, free: 2.785 MB / 1.107 GB Notification: Performance of SimCode: time 2.204e-06/1.514, allocations: 3.938 kB / 1.47 GB, free: 2.781 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0936/1.608, allocations: 56.42 MB / 1.525 GB, free: 11.01 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/13.35, allocations: 0 / 1.525 GB, free: 11.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 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.mat","/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