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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.0008535/0.0008535, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009561/0.0009562, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437.7 MB / 0.7117 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 12 kB / 0.8722 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5899/0.5902, allocations: 153.8 MB / 1.022 GB, free: 108 kB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.7734/1.364, allocations: 224.1 MB / 1.241 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01933/1.383, allocations: 13.5 MB / 1.254 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/1.386, allocations: 62.34 kB / 1.254 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/1.389, allocations: 0.8377 MB / 1.255 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/1.399, allocations: 3.388 MB / 1.259 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004891/1.404, allocations: 1.348 MB / 1.26 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01129/1.415, allocations: 7.275 MB / 1.267 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/1.418, allocations: 1.498 MB / 1.268 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/1.422, allocations: 1.834 MB / 1.27 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/1.426, allocations: 1.95 MB / 1.272 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004067/1.427, allocations: 110.6 kB / 1.272 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007359/1.434, allocations: 2.39 MB / 1.275 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/1.435, allocations: 0.8985 MB / 1.275 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/1.437, allocations: 0.5217 MB / 1.276 GB, free: 23.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004646/1.441, allocations: 3.518 MB / 1.279 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.441, allocations: 0 / 1.279 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.747e-06/1.441, allocations: 3.312 kB / 1.279 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.139e-05/1.441, allocations: 2.531 kB / 1.279 GB, free: 23.14 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.005321/1.447, allocations: 2.764 MB / 1.282 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.447, allocations: 14.86 kB / 1.282 GB, free: 21.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/1.451, allocations: 0.6788 MB / 1.283 GB, free: 21.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/1.453, allocations: 1.507 MB / 1.284 GB, free: 21.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.825e-05/1.454, allocations: 145.7 kB / 1.284 GB, free: 21.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/1.454, allocations: 195.6 kB / 1.285 GB, free: 21.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003616/1.457, allocations: 2.407 MB / 1.287 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/1.458, allocations: 2.625 kB / 1.287 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/1.458, allocations: 80.45 kB / 1.287 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.614e-05/1.458, allocations: 88.7 kB / 1.287 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/1.462, allocations: 2.6 MB / 1.29 GB, free: 21.1 MB / 0.9981 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.01028/1.472, allocations: 8.041 MB / 1.298 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/1.475, allocations: 2.339 MB / 1.3 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/1.476, allocations: 1.327 MB / 1.301 GB, free: 17.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/1.478, allocations: 1.564 MB / 1.303 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/1.478, allocations: 71.52 kB / 1.303 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=222): time 4.328e-06/1.478, allocations: 0 / 1.303 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226): time 0.01086/1.489, allocations: 6.842 MB / 1.309 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/1.489, allocations: 156.1 kB / 1.31 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/1.49, allocations: 1.2 MB / 1.311 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/1.491, allocations: 66.55 kB / 1.311 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/1.491, allocations: 0.7535 MB / 1.311 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/1.492, allocations: 0.7711 MB / 1.312 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.492, allocations: 38.44 kB / 1.312 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.492, allocations: 390.4 kB / 1.313 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/1.493, allocations: 0.855 MB / 1.313 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.495, allocations: 1.116 MB / 1.315 GB, free: 12.62 MB / 0.9981 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.05682/1.551, allocations: 9.676 MB / 1.324 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.552, allocations: 2.656 kB / 1.324 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004223/1.556, allocations: 2.395 MB / 1.326 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.556, allocations: 9.031 kB / 1.326 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.556, allocations: 2.781 kB / 1.326 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/1.556, allocations: 15.22 kB / 1.326 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.558, allocations: 427.3 kB / 1.327 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-05/1.558, allocations: 15.53 kB / 1.327 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.56, allocations: 186.5 kB / 1.327 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/1.56, allocations: 70.47 kB / 1.327 GB, free: 10.46 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001053/1.561, allocations: 0.5587 MB / 1.328 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/1.561, allocations: 201.1 kB / 1.328 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/1.565, allocations: 2.517 MB / 1.33 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.565, allocations: 22.84 kB / 1.33 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.566, allocations: 2.438 kB / 1.33 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002739/1.568, allocations: 2.091 MB / 1.332 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008492/1.577, allocations: 5.352 MB / 1.338 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.577, allocations: 5.719 kB / 1.338 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/1.579, allocations: 462.4 kB / 1.338 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.478e-05/1.579, allocations: 19.95 kB / 1.338 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.579, allocations: 59.02 kB / 1.338 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.127e-05/1.579, allocations: 16.28 kB / 1.338 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.579, allocations: 15.28 kB / 1.338 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/1.584, allocations: 4.06 MB / 1.342 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.585, allocations: 0.4902 MB / 1.343 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/1.586, allocations: 57.2 kB / 1.343 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.588, allocations: 165.6 kB / 1.343 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/1.588, allocations: 152 kB / 1.343 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.588, allocations: 75.45 kB / 1.343 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001222/1.589, allocations: 0.8259 MB / 1.344 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.589, allocations: 0 / 1.344 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002089/1.591, allocations: 0.6891 MB / 1.344 GB, free: 5.805 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007564/1.592, allocations: 356.1 kB / 1.345 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003341/1.596, allocations: 2.18 MB / 1.347 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.596, allocations: 1.75 kB / 1.347 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.597, allocations: 1.168 MB / 1.348 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005512/1.603, allocations: 1.127 MB / 1.349 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008173/1.611, allocations: 5.806 MB / 1.355 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/1.612, allocations: 1.659 MB / 1.356 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002881/1.615, allocations: 0.7587 MB / 1.357 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/1.616, allocations: 181.9 kB / 1.357 GB, free: 10.85 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.616, allocations: 2.625 kB / 1.357 GB, free: 10.85 MB / 1.014 GB Notification: Performance of Templates: time 0.06369/1.68, allocations: 38.04 MB / 1.395 GB, free: 5.453 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (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 & ./Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches