Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_latest_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.007838/0.007838, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.00185/0.00185, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.485/2.485, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.11 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.7604, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 0.2359/0.9964, allocations: 245.7 MB / 1.447 GB, free: 6.914 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02067/1.017, allocations: 14.39 MB / 1.461 GB, free: 8.488 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/1.02, allocations: 71.62 kB / 1.461 GB, free: 8.418 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003506/1.024, allocations: 1.255 MB / 1.463 GB, free: 7.156 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/1.036, allocations: 4.674 MB / 1.467 GB, free: 2.465 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/1.041, allocations: 1.875 MB / 1.469 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007911/1.049, allocations: 6.223 MB / 1.475 GB, free: 10.36 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/1.052, allocations: 1.975 MB / 1.477 GB, free: 8.352 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/1.056, allocations: 2.2 MB / 1.479 GB, free: 6.145 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/1.06, allocations: 2.028 MB / 1.481 GB, free: 4.121 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0008524/1.061, allocations: 248 kB / 1.481 GB, free: 3.879 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008609/1.07, allocations: 4.525 MB / 1.486 GB, free: 15.34 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001642/1.071, allocations: 1.052 MB / 1.487 GB, free: 14.29 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003012/1.075, allocations: 1.447 MB / 1.488 GB, free: 12.84 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.009962/1.085, allocations: 5.275 MB / 1.493 GB, free: 7.547 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.085, allocations: 4 kB / 1.493 GB, free: 7.543 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.004e-06/1.085, allocations: 0 / 1.493 GB, free: 7.543 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001369/1.085, allocations: 0 / 1.493 GB, free: 7.543 MB / 1.217 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.008186/1.093, allocations: 3.191 MB / 1.496 GB, free: 4.293 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.093, allocations: 12.03 kB / 1.496 GB, free: 4.281 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006349/1.094, allocations: 286.5 kB / 1.497 GB, free: 3.992 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/1.098, allocations: 0.676 MB / 1.497 GB, free: 3.312 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/1.101, allocations: 1.643 MB / 1.499 GB, free: 1.613 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.101, allocations: 139.8 kB / 1.499 GB, free: 1.477 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004531/1.102, allocations: 195.9 kB / 1.499 GB, free: 1.285 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/1.106, allocations: 2.412 MB / 1.502 GB, free: 14.85 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/1.106, allocations: 4 kB / 1.502 GB, free: 14.85 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/1.106, allocations: 80 kB / 1.502 GB, free: 14.77 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.136e-05/1.106, allocations: 92.28 kB / 1.502 GB, free: 14.68 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003685/1.11, allocations: 2.605 MB / 1.504 GB, free: 12.06 MB / 1.232 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.01088/1.121, allocations: 7.893 MB / 1.512 GB, free: 3.66 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/1.124, allocations: 2.342 MB / 1.514 GB, free: 1.305 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.125, allocations: 1.322 MB / 1.516 GB, free: 15.98 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.127, allocations: 1.564 MB / 1.517 GB, free: 14.08 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.127, allocations: 56.44 kB / 1.517 GB, free: 14.02 MB / 1.248 GB Notification: Performance of pre-optimization done (n=222): time 3.266e-06/1.127, allocations: 3.938 kB / 1.517 GB, free: 14.01 MB / 1.248 GB Notification: Performance of matching and sorting (n=226): time 0.01017/1.137, allocations: 6.478 MB / 1.524 GB, free: 7.391 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/1.137, allocations: 103.1 kB / 1.524 GB, free: 7.27 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/1.139, allocations: 1.213 MB / 1.525 GB, free: 6.043 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.139, allocations: 65.7 kB / 1.525 GB, free: 5.973 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/1.139, allocations: 0.7529 MB / 1.526 GB, free: 5.211 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/1.14, allocations: 0.7622 MB / 1.526 GB, free: 4.438 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/1.14, allocations: 347.5 kB / 1.527 GB, free: 4.09 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/1.14, allocations: 301.1 kB / 1.527 GB, free: 3.793 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.142, allocations: 0.8667 MB / 1.528 GB, free: 2.926 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/1.143, allocations: 1.119 MB / 1.529 GB, free: 1.742 MB / 1.248 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.06868/1.212, allocations: 11.7 MB / 1.54 GB, free: 5.949 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.212, allocations: 3.938 kB / 1.54 GB, free: 5.945 MB / 1.264 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003649/1.215, allocations: 2.392 MB / 1.543 GB, free: 3.543 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/1.216, allocations: 8 kB / 1.543 GB, free: 3.535 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.216, allocations: 4 kB / 1.543 GB, free: 3.531 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/1.216, allocations: 16 kB / 1.543 GB, free: 3.516 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.217, allocations: 423.4 kB / 1.543 GB, free: 3.102 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.558e-05/1.217, allocations: 15.98 kB / 1.543 GB, free: 3.086 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.219, allocations: 68.02 kB / 1.543 GB, free: 3.02 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.219, allocations: 75.98 kB / 1.543 GB, free: 2.945 MB / 1.264 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.0009386/1.22, allocations: 0.5567 MB / 1.544 GB, free: 2.379 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/1.22, allocations: 197.7 kB / 1.544 GB, free: 2.184 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/1.224, allocations: 2.526 MB / 1.547 GB, free: 15.64 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.224, allocations: 20 kB / 1.547 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.224, allocations: 8 kB / 1.547 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002687/1.227, allocations: 2.101 MB / 1.549 GB, free: 13.5 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00807/1.235, allocations: 5.32 MB / 1.554 GB, free: 8.043 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.235, allocations: 4 kB / 1.554 GB, free: 8.039 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.237, allocations: 464.2 kB / 1.554 GB, free: 7.586 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/1.237, allocations: 16 kB / 1.554 GB, free: 7.57 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.237, allocations: 59.98 kB / 1.554 GB, free: 7.512 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/1.237, allocations: 23.86 kB / 1.554 GB, free: 7.488 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.237, allocations: 15.88 kB / 1.554 GB, free: 7.473 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/1.242, allocations: 3.932 MB / 1.558 GB, free: 3.449 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.243, allocations: 498.6 kB / 1.559 GB, free: 2.941 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/1.244, allocations: 51.98 kB / 1.559 GB, free: 2.891 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.245, allocations: 74.11 kB / 1.559 GB, free: 2.82 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.245, allocations: 149.4 kB / 1.559 GB, free: 2.672 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.245, allocations: 75.98 kB / 1.559 GB, free: 2.598 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001038/1.246, allocations: 0.8357 MB / 1.56 GB, free: 1.762 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/1.246, allocations: 11.94 kB / 1.56 GB, free: 1.75 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001647/1.248, allocations: 0.6874 MB / 1.56 GB, free: 1.062 MB / 1.279 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.5657/1.814, allocations: 4.708 MB / 1.565 GB, free: 347.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00348/1.817, allocations: 2.218 MB / 1.567 GB, free: 346.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.817, allocations: 6.016 kB / 1.567 GB, free: 346.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.819, allocations: 1.169 MB / 1.568 GB, free: 346.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005552/1.824, allocations: 1.179 MB / 1.57 GB, free: 346.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.846, allocations: 16.21 MB / 1.585 GB, free: 338.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009474/1.847, allocations: 1.653 MB / 1.587 GB, free: 338 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002303/1.849, allocations: 0.7576 MB / 1.588 GB, free: 337.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.85, allocations: 0.8294 MB / 1.589 GB, free: 337.2 MB / 1.279 GB Notification: Performance of SimCode: time 7.92e-07/1.85, allocations: 0 / 1.589 GB, free: 337.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07879/1.929, allocations: 57.48 MB / 1.645 GB, free: 281.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/13.12, allocations: 19.98 kB / 1.645 GB, free: 281.7 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches