Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 148 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.001249/0.001249, allocations: 194.2 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.182/3.182, allocations: 472.7 MB / 0.7452 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 64.11 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4214, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 1.018/1.44, allocations: 245.7 MB / 1.308 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02299/1.463, allocations: 14.39 MB / 1.322 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005042/1.468, allocations: 73.97 kB / 1.322 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004078/1.472, allocations: 1.265 MB / 1.324 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01349/1.485, allocations: 4.673 MB / 1.328 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006148/1.492, allocations: 1.854 MB / 1.33 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01077/1.502, allocations: 6.231 MB / 1.336 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005023/1.507, allocations: 1.971 MB / 1.338 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008049/1.516, allocations: 2.143 MB / 1.34 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00755/1.523, allocations: 2.023 MB / 1.342 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001645/1.525, allocations: 245.8 kB / 1.342 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/1.538, allocations: 4.516 MB / 1.347 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0023/1.54, allocations: 1.049 MB / 1.348 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004246/1.545, allocations: 1.441 MB / 1.349 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/1.557, allocations: 5.24 MB / 1.354 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.557, allocations: 2.125 kB / 1.354 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.557, allocations: 0 / 1.354 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001519/1.557, allocations: 0 / 1.354 GB, free: 0.7617 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.01001/1.567, allocations: 3.193 MB / 1.357 GB, free: 14.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.567, allocations: 11.12 kB / 1.357 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/1.572, allocations: 0.6751 MB / 1.358 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/1.576, allocations: 1.569 MB / 1.359 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.576, allocations: 143.3 kB / 1.36 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005907/1.577, allocations: 196.2 kB / 1.36 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/1.582, allocations: 2.42 MB / 1.362 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/1.582, allocations: 3.906 kB / 1.362 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/1.582, allocations: 80.86 kB / 1.362 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/1.582, allocations: 94.14 kB / 1.362 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004311/1.587, allocations: 2.607 MB / 1.365 GB, free: 12.11 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.01308/1.6, allocations: 8.104 MB / 1.373 GB, free: 5.797 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/1.603, allocations: 2.356 MB / 1.375 GB, free: 4.535 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/1.605, allocations: 1.338 MB / 1.376 GB, free: 3.852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/1.607, allocations: 1.558 MB / 1.378 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/1.607, allocations: 72.34 kB / 1.378 GB, free: 2.035 MB / 1.014 GB Notification: Performance of pre-optimization done (n=222): time 4.588e-06/1.607, allocations: 0 / 1.378 GB, free: 2.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=226): time 0.01414/1.621, allocations: 6.859 MB / 1.385 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.621, allocations: 155.2 kB / 1.385 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/1.623, allocations: 1.217 MB / 1.386 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/1.624, allocations: 65.27 kB / 1.386 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/1.624, allocations: 0.759 MB / 1.387 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000857/1.625, allocations: 0.7596 MB / 1.388 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006714/1.626, allocations: 348.4 kB / 1.388 GB, free: 11.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.626, allocations: 307.7 kB / 1.388 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/1.627, allocations: 0.8614 MB / 1.389 GB, free: 10.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/1.629, allocations: 1.13 MB / 1.39 GB, free: 10.23 MB / 1.029 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.06884/1.698, allocations: 11.72 MB / 1.402 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-05/1.698, allocations: 4 kB / 1.402 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006173/1.704, allocations: 2.395 MB / 1.404 GB, free: 14.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/1.705, allocations: 8 kB / 1.404 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.705, allocations: 4 kB / 1.404 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.301e-05/1.705, allocations: 16 kB / 1.404 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.707, allocations: 436.5 kB / 1.404 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.659e-05/1.707, allocations: 15.94 kB / 1.404 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/1.709, allocations: 63.83 kB / 1.404 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/1.709, allocations: 79.98 kB / 1.405 GB, free: 13.85 MB / 1.045 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.001593/1.711, allocations: 0.5631 MB / 1.405 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.712, allocations: 197.7 kB / 1.405 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/1.717, allocations: 2.521 MB / 1.408 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/1.717, allocations: 24 kB / 1.408 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.717, allocations: 0 / 1.408 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003419/1.721, allocations: 2.096 MB / 1.41 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.732, allocations: 5.361 MB / 1.415 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/1.732, allocations: 10.53 kB / 1.415 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.734, allocations: 459.4 kB / 1.415 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.085e-05/1.734, allocations: 16 kB / 1.415 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/1.734, allocations: 67.86 kB / 1.416 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-05/1.734, allocations: 18.52 kB / 1.416 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/1.734, allocations: 10.62 kB / 1.416 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/1.74, allocations: 4.092 MB / 1.42 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.742, allocations: 0.4907 MB / 1.42 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005104/1.742, allocations: 59.92 kB / 1.42 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.744, allocations: 62.41 kB / 1.42 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/1.744, allocations: 150.8 kB / 1.42 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.745, allocations: 79.97 kB / 1.42 GB, free: 13.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001439/1.746, allocations: 0.8356 MB / 1.421 GB, free: 12.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.746, allocations: 0 / 1.421 GB, free: 12.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002616/1.749, allocations: 0.6835 MB / 1.422 GB, free: 11.96 MB / 1.061 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.0009145/1.75, allocations: 356.5 kB / 1.422 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005837/1.755, allocations: 3.351 MB / 1.425 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.755, allocations: 0 / 1.425 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/1.757, allocations: 1.173 MB / 1.427 GB, free: 7.242 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/1.763, allocations: 1.18 MB / 1.428 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/1.772, allocations: 4.866 MB / 1.433 GB, free: 1.137 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/1.774, allocations: 1.651 MB / 1.434 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003512/1.777, allocations: 0.7548 MB / 1.435 GB, free: 14.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008839/1.778, allocations: 179.4 kB / 1.435 GB, free: 14.51 MB / 1.076 GB Notification: Performance of SimCode: time 2.044e-06/1.778, allocations: 4 kB / 1.435 GB, free: 14.51 MB / 1.076 GB Notification: Performance of Templates: time 0.07278/1.851, allocations: 41.33 MB / 1.475 GB, free: 5.789 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches