Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 219 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.041/3.041, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.62 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3384, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.2656/0.604, allocations: 218.1 MB / 1.54 GB, free: 6.641 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.6278, allocations: 13.45 MB / 1.553 GB, free: 9.16 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.6311, allocations: 103.2 kB / 1.553 GB, free: 9.059 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.6348, allocations: 1.2 MB / 1.554 GB, free: 7.852 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.6472, allocations: 4.899 MB / 1.559 GB, free: 2.934 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.6523, allocations: 1.92 MB / 1.561 GB, free: 1.023 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.009231/0.6615, allocations: 6.403 MB / 1.567 GB, free: 10.6 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.6646, allocations: 1.527 MB / 1.568 GB, free: 9.047 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005952/0.6706, allocations: 2.683 MB / 1.571 GB, free: 6.355 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.675, allocations: 2.133 MB / 1.573 GB, free: 4.227 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0006187/0.6756, allocations: 248 kB / 1.573 GB, free: 3.984 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008022/0.6836, allocations: 3.725 MB / 1.577 GB, free: 256 kB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.6851, allocations: 1.059 MB / 1.578 GB, free: 15.19 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.6879, allocations: 1.21 MB / 1.579 GB, free: 13.97 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.6981, allocations: 5.151 MB / 1.584 GB, free: 8.805 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6981, allocations: 0 / 1.584 GB, free: 8.805 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6981, allocations: 3.938 kB / 1.584 GB, free: 8.801 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001115/0.6982, allocations: 7.938 kB / 1.584 GB, free: 8.793 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 515 * Number of variables: 515 Notification: Performance of Generate backend data structure: time 0.007695/0.7059, allocations: 3.155 MB / 1.587 GB, free: 5.59 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.706, allocations: 12.03 kB / 1.587 GB, free: 5.578 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.927e-05/0.7061, allocations: 51.84 kB / 1.587 GB, free: 5.527 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003997/0.7065, allocations: 287.1 kB / 1.588 GB, free: 5.238 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.7109, allocations: 0.6892 MB / 1.588 GB, free: 4.547 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.714, allocations: 1.525 MB / 1.59 GB, free: 2.969 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.7142, allocations: 151.8 kB / 1.59 GB, free: 2.82 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.7145, allocations: 192 kB / 1.59 GB, free: 2.633 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004666/0.7192, allocations: 2.906 MB / 1.593 GB, free: 15.57 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.7192, allocations: 3.984 kB / 1.593 GB, free: 15.57 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.7194, allocations: 83.98 kB / 1.593 GB, free: 15.49 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.7196, allocations: 112.4 kB / 1.593 GB, free: 15.38 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.7241, allocations: 2.75 MB / 1.596 GB, free: 12.62 MB / 1.295 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.01078/0.7349, allocations: 5.708 MB / 1.601 GB, free: 6.836 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.7383, allocations: 2.214 MB / 1.604 GB, free: 4.586 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.7403, allocations: 1.238 MB / 1.605 GB, free: 3.34 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009119/0.7412, allocations: 205.8 kB / 1.605 GB, free: 3.137 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/0.7413, allocations: 76.41 kB / 1.605 GB, free: 3.055 MB / 1.295 GB Notification: Performance of pre-optimization done (n=222): time 4.639e-06/0.7413, allocations: 0 / 1.605 GB, free: 3.055 MB / 1.295 GB Notification: Performance of matching and sorting (n=226): time 0.6632/1.404, allocations: 6.725 MB / 1.612 GB, free: 278.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/1.405, allocations: 153.9 kB / 1.612 GB, free: 278.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.406, allocations: 1.236 MB / 1.613 GB, free: 278 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/1.407, allocations: 68.52 kB / 1.613 GB, free: 277.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/1.407, allocations: 0.8186 MB / 1.614 GB, free: 277.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/1.408, allocations: 0.8024 MB / 1.615 GB, free: 276.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005907/1.408, allocations: 377 kB / 1.615 GB, free: 276.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/1.408, allocations: 306 kB / 1.615 GB, free: 276.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/1.41, allocations: 0.9113 MB / 1.616 GB, free: 276.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/1.412, allocations: 1.287 MB / 1.617 GB, free: 275.4 MB / 1.295 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.06993/1.482, allocations: 11.82 MB / 1.629 GB, free: 273.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/1.482, allocations: 2.188 kB / 1.629 GB, free: 273.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004565/1.486, allocations: 2.548 MB / 1.631 GB, free: 272.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.486, allocations: 8.406 kB / 1.631 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/1.486, allocations: 5.859 kB / 1.631 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-05/1.486, allocations: 13.97 kB / 1.631 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.488, allocations: 455.6 kB / 1.632 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/1.488, allocations: 19.2 kB / 1.632 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.49, allocations: 69.75 kB / 1.632 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.49, allocations: 76.48 kB / 1.632 GB, free: 272.2 MB / 1.295 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 (275): * Single equations (assignments): 275 * 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.001029/1.491, allocations: 0.5775 MB / 1.633 GB, free: 271.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/1.492, allocations: 203 kB / 1.633 GB, free: 271.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/1.496, allocations: 2.524 MB / 1.635 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.496, allocations: 24.53 kB / 1.635 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/1.496, allocations: 5.375 kB / 1.635 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002808/1.499, allocations: 2.099 MB / 1.637 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007103/1.506, allocations: 4.959 MB / 1.642 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.506, allocations: 11.78 kB / 1.642 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/1.508, allocations: 458.9 kB / 1.643 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/1.508, allocations: 19.16 kB / 1.643 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.508, allocations: 60.67 kB / 1.643 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/1.508, allocations: 20.75 kB / 1.643 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.508, allocations: 10.5 kB / 1.643 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/1.512, allocations: 4.092 MB / 1.647 GB, free: 264.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.513, allocations: 435.1 kB / 1.647 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.513, allocations: 58.05 kB / 1.647 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.515, allocations: 63.73 kB / 1.647 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/1.515, allocations: 158 kB / 1.647 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.515, allocations: 79.36 kB / 1.648 GB, free: 263.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008646/1.516, allocations: 0.8383 MB / 1.648 GB, free: 263 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/1.516, allocations: 0 / 1.648 GB, free: 263 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001633/1.518, allocations: 0.7029 MB / 1.649 GB, free: 262.3 MB / 1.295 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.00442/1.522, allocations: 4.88 MB / 1.654 GB, free: 257.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002677/1.525, allocations: 2.162 MB / 1.656 GB, free: 255.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.525, allocations: 1.188 kB / 1.656 GB, free: 255.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.526, allocations: 1.1 MB / 1.657 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/1.531, allocations: 1.18 MB / 1.658 GB, free: 253 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.548, allocations: 16.64 MB / 1.674 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/1.549, allocations: 1.071 MB / 1.675 GB, free: 234.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002071/1.551, allocations: 0.7808 MB / 1.676 GB, free: 234 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009607/1.552, allocations: 0.839 MB / 1.677 GB, free: 233.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.11e-07/1.552, allocations: 0 / 1.677 GB, free: 233.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08726/1.639, allocations: 61.7 MB / 1.737 GB, free: 172.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/17.64, allocations: 28.72 kB / 1.737 GB, free: 172.6 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.515788101009093]