Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007916/0.007916, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.00178/0.00178, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.671/2.671, allocations: 469.8 MB / 0.7425 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.11 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3071, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.9824/1.29, allocations: 299.8 MB / 1.513 GB, free: 9.152 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02431/1.314, allocations: 15.32 MB / 1.528 GB, free: 9.801 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/1.317, allocations: 71.62 kB / 1.528 GB, free: 9.73 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005038/1.322, allocations: 1.826 MB / 1.53 GB, free: 7.895 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01643/1.339, allocations: 6.103 MB / 1.536 GB, free: 1.77 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.008161/1.347, allocations: 2.858 MB / 1.539 GB, free: 14.91 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.009885/1.357, allocations: 7.111 MB / 1.546 GB, free: 7.785 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/1.361, allocations: 2.262 MB / 1.548 GB, free: 5.473 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004977/1.366, allocations: 2.679 MB / 1.551 GB, free: 2.785 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/1.371, allocations: 2.623 MB / 1.553 GB, free: 176 kB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/1.372, allocations: 344 kB / 1.554 GB, free: 15.83 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/1.383, allocations: 5.775 MB / 1.559 GB, free: 10.05 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/1.385, allocations: 1.539 MB / 1.561 GB, free: 8.504 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00313/1.388, allocations: 1.921 MB / 1.563 GB, free: 6.574 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.4, allocations: 6.884 MB / 1.569 GB, free: 15.66 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.4, allocations: 0 / 1.569 GB, free: 15.66 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.543e-06/1.4, allocations: 0 / 1.569 GB, free: 15.66 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001734/1.4, allocations: 4 kB / 1.569 GB, free: 15.66 MB / 1.264 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.01091/1.411, allocations: 4.258 MB / 1.574 GB, free: 11.33 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.411, allocations: 8.031 kB / 1.574 GB, free: 11.32 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/1.417, allocations: 0.8604 MB / 1.574 GB, free: 10.46 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/1.42, allocations: 1.878 MB / 1.576 GB, free: 8.527 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/1.421, allocations: 213.5 kB / 1.576 GB, free: 8.316 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/1.421, allocations: 287.9 kB / 1.577 GB, free: 8.035 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/1.427, allocations: 3.627 MB / 1.58 GB, free: 4.312 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-05/1.427, allocations: 7.938 kB / 1.58 GB, free: 4.305 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/1.427, allocations: 112 kB / 1.58 GB, free: 4.195 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/1.427, allocations: 149.5 kB / 1.58 GB, free: 4.047 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005889/1.433, allocations: 3.73 MB / 1.584 GB, free: 312 kB / 1.264 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.01531/1.448, allocations: 13.29 MB / 1.597 GB, free: 1.945 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/1.453, allocations: 3.035 MB / 1.6 GB, free: 14.89 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/1.455, allocations: 1.635 MB / 1.602 GB, free: 13.25 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/1.456, allocations: 1.588 MB / 1.603 GB, free: 11.33 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.457, allocations: 68.8 kB / 1.603 GB, free: 11.25 MB / 1.295 GB Notification: Performance of pre-optimization done (n=285): time 4.178e-06/1.457, allocations: 0 / 1.603 GB, free: 11.25 MB / 1.295 GB Notification: Performance of matching and sorting (n=285): time 0.006546/1.463, allocations: 4.056 MB / 1.607 GB, free: 7.148 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/1.463, allocations: 81.66 kB / 1.607 GB, free: 7.055 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/1.465, allocations: 1.434 MB / 1.609 GB, free: 5.613 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.465, allocations: 73.7 kB / 1.609 GB, free: 5.535 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/1.466, allocations: 1.023 MB / 1.61 GB, free: 4.504 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008428/1.467, allocations: 1.011 MB / 1.611 GB, free: 3.484 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/1.467, allocations: 413 kB / 1.611 GB, free: 3.074 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.468, allocations: 309.1 kB / 1.611 GB, free: 2.77 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/1.469, allocations: 1.146 MB / 1.613 GB, free: 1.621 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/1.471, allocations: 1.37 MB / 1.614 GB, free: 204 kB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003954/1.475, allocations: 2.721 MB / 1.617 GB, free: 13.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.475, allocations: 3.938 kB / 1.617 GB, free: 13.4 MB / 1.311 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.00482/1.48, allocations: 3.066 MB / 1.62 GB, free: 10.29 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.48, allocations: 7.984 kB / 1.62 GB, free: 10.28 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.48, allocations: 4 kB / 1.62 GB, free: 10.28 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/1.48, allocations: 16 kB / 1.62 GB, free: 10.26 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/1.482, allocations: 0.5075 MB / 1.62 GB, free: 9.754 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/1.482, allocations: 20 kB / 1.62 GB, free: 9.734 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/1.484, allocations: 206.3 kB / 1.62 GB, free: 9.531 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/1.484, allocations: 84.61 kB / 1.62 GB, free: 9.449 MB / 1.311 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.001148/1.485, allocations: 0.6846 MB / 1.621 GB, free: 8.754 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/1.486, allocations: 246.5 kB / 1.621 GB, free: 8.512 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005075/1.491, allocations: 3.212 MB / 1.624 GB, free: 5.246 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.491, allocations: 28 kB / 1.624 GB, free: 5.219 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.491, allocations: 0 / 1.624 GB, free: 5.219 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003819/1.495, allocations: 2.649 MB / 1.627 GB, free: 2.516 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.505, allocations: 6.652 MB / 1.634 GB, free: 11.69 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.505, allocations: 0 / 1.634 GB, free: 11.69 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.507, allocations: 0.5423 MB / 1.634 GB, free: 11.15 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.752e-05/1.507, allocations: 12 kB / 1.634 GB, free: 11.14 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.507, allocations: 68.17 kB / 1.634 GB, free: 11.07 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/1.507, allocations: 12 kB / 1.634 GB, free: 11.06 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.507, allocations: 3.938 kB / 1.634 GB, free: 11.05 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007545/1.515, allocations: 4.84 MB / 1.639 GB, free: 6.086 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.516, allocations: 0.6315 MB / 1.64 GB, free: 5.434 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/1.517, allocations: 60 kB / 1.64 GB, free: 5.375 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.518, allocations: 63.97 kB / 1.64 GB, free: 5.312 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.519, allocations: 181.9 kB / 1.64 GB, free: 5.133 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.519, allocations: 79.98 kB / 1.64 GB, free: 5.055 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001382/1.52, allocations: 0.9891 MB / 1.641 GB, free: 4.07 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/1.52, allocations: 0 / 1.641 GB, free: 4.07 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002121/1.522, allocations: 1.002 MB / 1.642 GB, free: 3.066 MB / 1.326 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.0007563/1.523, allocations: 422 kB / 1.642 GB, free: 2.66 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004334/1.528, allocations: 2.705 MB / 1.645 GB, free: 15.92 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.528, allocations: 0 / 1.645 GB, free: 15.92 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/1.53, allocations: 1.445 MB / 1.646 GB, free: 14.47 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/1.535, allocations: 1.328 MB / 1.648 GB, free: 13.17 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.545, allocations: 6.397 MB / 1.654 GB, free: 6.691 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/1.547, allocations: 1.99 MB / 1.656 GB, free: 4.668 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003063/1.55, allocations: 0.8907 MB / 1.657 GB, free: 3.773 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/1.551, allocations: 215.4 kB / 1.657 GB, free: 3.562 MB / 1.342 GB Notification: Performance of SimCode: time 1.102e-06/1.551, allocations: 0 / 1.657 GB, free: 3.562 MB / 1.342 GB Notification: Performance of Templates: time 0.08401/1.635, allocations: 51.46 MB / 1.707 GB, free: 0.7305 MB / 1.389 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches