Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 100.1 kB / 15.88 MB, free: 12 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.001892/0.001892, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.634/1.634, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.993/2.993, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.38 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4328, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.18/1.612, allocations: 296.9 MB / 1.343 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02455/1.637, allocations: 15.48 MB / 1.358 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005068/1.642, allocations: 66.88 kB / 1.358 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004994/1.647, allocations: 1.51 MB / 1.359 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0183/1.666, allocations: 5.585 MB / 1.365 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008948/1.674, allocations: 2.565 MB / 1.367 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0166/1.691, allocations: 10.27 MB / 1.377 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005039/1.696, allocations: 2.306 MB / 1.38 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/1.703, allocations: 2.292 MB / 1.382 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007605/1.711, allocations: 2.726 MB / 1.385 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/1.712, allocations: 200.1 kB / 1.385 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01884/1.731, allocations: 6.667 MB / 1.391 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004192/1.735, allocations: 1.381 MB / 1.393 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007091/1.742, allocations: 1.775 MB / 1.394 GB, free: 7.844 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.754, allocations: 5.045 MB / 1.399 GB, free: 4.977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.754, allocations: 3.938 kB / 1.399 GB, free: 4.973 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.754, allocations: 0 / 1.399 GB, free: 4.973 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002508/1.754, allocations: 0 / 1.399 GB, free: 4.973 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01694/1.771, allocations: 4.163 MB / 1.403 GB, free: 2.207 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/1.771, allocations: 8 kB / 1.403 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007054/1.778, allocations: 0.8422 MB / 1.404 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006653/1.785, allocations: 1.794 MB / 1.406 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/1.785, allocations: 211.4 kB / 1.406 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/1.787, allocations: 283.5 kB / 1.406 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.798, allocations: 3.636 MB / 1.41 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/1.798, allocations: 3.906 kB / 1.41 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008358/1.799, allocations: 123.2 kB / 1.41 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/1.799, allocations: 149.4 kB / 1.41 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009303/1.809, allocations: 3.726 MB / 1.414 GB, free: 9.199 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.0271/1.836, allocations: 13.2 MB / 1.427 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006703/1.843, allocations: 3.234 MB / 1.43 GB, free: 7.816 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00368/1.846, allocations: 1.782 MB / 1.432 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/1.849, allocations: 1.588 MB / 1.433 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/1.849, allocations: 68.75 kB / 1.433 GB, free: 4.039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=285): time 6.141e-06/1.849, allocations: 0 / 1.433 GB, free: 4.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=285): time 0.01018/1.859, allocations: 4.047 MB / 1.437 GB, free: 15.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.432e-05/1.859, allocations: 81.66 kB / 1.437 GB, free: 15.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/1.863, allocations: 1.429 MB / 1.439 GB, free: 14.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000366/1.863, allocations: 73.7 kB / 1.439 GB, free: 14.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.864, allocations: 1.004 MB / 1.44 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.866, allocations: 0.9674 MB / 1.441 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/1.867, allocations: 412.9 kB / 1.441 GB, free: 11.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.867, allocations: 305.1 kB / 1.441 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/1.869, allocations: 1.145 MB / 1.442 GB, free: 10.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1.872, allocations: 1.386 MB / 1.444 GB, free: 9.066 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/1.876, allocations: 2.717 MB / 1.446 GB, free: 6.273 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/1.876, allocations: 0 / 1.446 GB, free: 6.273 MB / 1.061 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.006421/1.883, allocations: 3.057 MB / 1.449 GB, free: 3.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/1.883, allocations: 8 kB / 1.449 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.883, allocations: 4 kB / 1.449 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.055e-05/1.883, allocations: 12 kB / 1.449 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.885, allocations: 0.5153 MB / 1.45 GB, free: 2.633 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.206e-05/1.886, allocations: 12 kB / 1.45 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/1.889, allocations: 381.5 kB / 1.45 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.889, allocations: 83.98 kB / 1.45 GB, free: 2.164 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (312): * Single equations (assignments): 312 * 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.001813/1.891, allocations: 0.6885 MB / 1.451 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009996/1.892, allocations: 237.1 kB / 1.451 GB, free: 1.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006578/1.899, allocations: 3.215 MB / 1.454 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.899, allocations: 28 kB / 1.454 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.899, allocations: 0 / 1.454 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004627/1.903, allocations: 2.653 MB / 1.457 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/1.918, allocations: 6.633 MB / 1.464 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.918, allocations: 0 / 1.464 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/1.92, allocations: 0.5465 MB / 1.464 GB, free: 3.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.842e-05/1.92, allocations: 15.94 kB / 1.464 GB, free: 3.926 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/1.921, allocations: 67.97 kB / 1.464 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.006e-05/1.921, allocations: 12 kB / 1.464 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/1.921, allocations: 7.922 kB / 1.464 GB, free: 3.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008923/1.93, allocations: 4.816 MB / 1.469 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.932, allocations: 0.6187 MB / 1.469 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008015/1.933, allocations: 67.86 kB / 1.47 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.936, allocations: 223.5 kB / 1.47 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/1.936, allocations: 173.9 kB / 1.47 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/1.936, allocations: 87.98 kB / 1.47 GB, free: 13.71 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002107/1.939, allocations: 0.989 MB / 1.471 GB, free: 12.73 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.939, allocations: 0 / 1.471 GB, free: 12.73 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003747/1.942, allocations: 0.9939 MB / 1.472 GB, free: 11.73 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (285): * Single equations (assignments): 285 * 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.001129/1.943, allocations: 422.6 kB / 1.472 GB, free: 11.34 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005577/1.949, allocations: 2.841 MB / 1.475 GB, free: 8.469 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.949, allocations: 0 / 1.475 GB, free: 8.469 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002749/1.952, allocations: 1.555 MB / 1.477 GB, free: 6.91 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007669/1.96, allocations: 1.266 MB / 1.478 GB, free: 5.656 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.975, allocations: 7.755 MB / 1.485 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/1.978, allocations: 1.998 MB / 1.487 GB, free: 11.8 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/1.98, allocations: 235.4 kB / 1.488 GB, free: 11.57 MB / 1.107 GB Notification: Performance of SimCode: time 2.044e-06/1.98, allocations: 0 / 1.488 GB, free: 11.57 MB / 1.107 GB Notification: Performance of Templates: time 0.08279/2.062, allocations: 44.43 MB / 1.531 GB, free: 15.39 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches