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.001981/0.00198, allocations: 108.4 kB / 16.37 MB, free: 6.465 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.001843/0.001843, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 442.5 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 65.34 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3708, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.034/1.405, allocations: 299.1 MB / 1.319 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02761/1.432, allocations: 15.31 MB / 1.334 GB, free: 2.676 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004318/1.437, allocations: 71.62 kB / 1.334 GB, free: 2.605 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005399/1.442, allocations: 1.74 MB / 1.336 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01678/1.459, allocations: 5.915 MB / 1.341 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008586/1.468, allocations: 2.821 MB / 1.344 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01197/1.48, allocations: 7.113 MB / 1.351 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004523/1.484, allocations: 2.716 MB / 1.354 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006131/1.49, allocations: 2.613 MB / 1.356 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/1.496, allocations: 2.622 MB / 1.359 GB, free: 8.965 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/1.498, allocations: 347.9 kB / 1.359 GB, free: 8.625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/1.512, allocations: 5.74 MB / 1.365 GB, free: 2.871 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002846/1.515, allocations: 1.512 MB / 1.366 GB, free: 1.355 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004457/1.519, allocations: 1.921 MB / 1.368 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01694/1.536, allocations: 6.849 MB / 1.375 GB, free: 8.559 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.536, allocations: 0 / 1.375 GB, free: 8.559 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.024e-06/1.536, allocations: 0 / 1.375 GB, free: 8.559 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001556/1.537, allocations: 0 / 1.375 GB, free: 8.559 MB / 1.076 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.01265/1.549, allocations: 4.162 MB / 1.379 GB, free: 4.332 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.549, allocations: 12.03 kB / 1.379 GB, free: 4.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005834/1.555, allocations: 0.843 MB / 1.38 GB, free: 3.473 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004616/1.56, allocations: 1.861 MB / 1.381 GB, free: 1.555 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/1.56, allocations: 213.5 kB / 1.382 GB, free: 1.344 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004924/1.56, allocations: 287.8 kB / 1.382 GB, free: 1.062 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/1.567, allocations: 3.631 MB / 1.385 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.486e-05/1.567, allocations: 3.906 kB / 1.385 GB, free: 13.33 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/1.567, allocations: 116 kB / 1.386 GB, free: 13.22 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/1.567, allocations: 149.4 kB / 1.386 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006185/1.573, allocations: 3.734 MB / 1.389 GB, free: 9.324 MB / 1.092 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.01735/1.591, allocations: 13.24 MB / 1.402 GB, free: 11.02 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/1.595, allocations: 3.249 MB / 1.405 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/1.598, allocations: 1.771 MB / 1.407 GB, free: 5.973 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/1.599, allocations: 1.592 MB / 1.409 GB, free: 4.047 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/1.6, allocations: 64.81 kB / 1.409 GB, free: 3.973 MB / 1.107 GB Notification: Performance of pre-optimization done (n=285): time 4.068e-06/1.6, allocations: 0 / 1.409 GB, free: 3.973 MB / 1.107 GB Notification: Performance of matching and sorting (n=285): time 0.006902/1.606, allocations: 4.043 MB / 1.413 GB, free: 15.88 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/1.607, allocations: 81.66 kB / 1.413 GB, free: 15.79 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/1.609, allocations: 1.426 MB / 1.414 GB, free: 14.36 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/1.609, allocations: 81.7 kB / 1.414 GB, free: 14.27 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007153/1.61, allocations: 1.004 MB / 1.415 GB, free: 13.25 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008927/1.61, allocations: 0.9702 MB / 1.416 GB, free: 12.27 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006435/1.611, allocations: 405 kB / 1.417 GB, free: 11.87 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.611, allocations: 305.1 kB / 1.417 GB, free: 11.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.613, allocations: 1.145 MB / 1.418 GB, free: 10.42 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/1.615, allocations: 1.386 MB / 1.419 GB, free: 8.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/1.619, allocations: 2.717 MB / 1.422 GB, free: 6.188 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.619, allocations: 4 kB / 1.422 GB, free: 6.184 MB / 1.123 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005456/1.625, allocations: 3.053 MB / 1.425 GB, free: 3.086 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.625, allocations: 12.06 kB / 1.425 GB, free: 3.074 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.625, allocations: 0 / 1.425 GB, free: 3.074 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.604e-05/1.625, allocations: 16 kB / 1.425 GB, free: 3.059 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/1.627, allocations: 0.511 MB / 1.426 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/1.627, allocations: 16 kB / 1.426 GB, free: 2.531 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/1.629, allocations: 193.8 kB / 1.426 GB, free: 2.34 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/1.629, allocations: 87.98 kB / 1.426 GB, free: 2.254 MB / 1.123 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.001426/1.631, allocations: 0.6962 MB / 1.427 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005651/1.631, allocations: 229.3 kB / 1.427 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/1.637, allocations: 3.216 MB / 1.43 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.637, allocations: 28 kB / 1.43 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.637, allocations: 0 / 1.43 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003951/1.641, allocations: 2.657 MB / 1.433 GB, free: 11.31 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.653, allocations: 6.635 MB / 1.439 GB, free: 4.504 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.653, allocations: 4 kB / 1.439 GB, free: 4.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.656, allocations: 0.5426 MB / 1.44 GB, free: 3.957 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/1.656, allocations: 12 kB / 1.44 GB, free: 3.945 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.656, allocations: 71.97 kB / 1.44 GB, free: 3.875 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.273e-05/1.656, allocations: 12 kB / 1.44 GB, free: 3.863 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.656, allocations: 7.938 kB / 1.44 GB, free: 3.855 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/1.663, allocations: 4.824 MB / 1.444 GB, free: 14.9 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/1.665, allocations: 0.6226 MB / 1.445 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.665, allocations: 52 kB / 1.445 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.667, allocations: 73.38 kB / 1.445 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/1.667, allocations: 169.9 kB / 1.445 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/1.668, allocations: 91.97 kB / 1.445 GB, free: 13.88 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00144/1.669, allocations: 0.9891 MB / 1.446 GB, free: 12.89 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/1.669, allocations: 0 / 1.446 GB, free: 12.89 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002433/1.671, allocations: 0.99 MB / 1.447 GB, free: 11.9 MB / 1.154 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.000952/1.672, allocations: 415.9 kB / 1.448 GB, free: 11.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00461/1.677, allocations: 2.861 MB / 1.45 GB, free: 8.605 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.677, allocations: 0 / 1.45 GB, free: 8.605 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/1.679, allocations: 1.559 MB / 1.452 GB, free: 7.043 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00574/1.685, allocations: 1.315 MB / 1.453 GB, free: 5.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.696, allocations: 6.318 MB / 1.459 GB, free: 15.36 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.697, allocations: 1.986 MB / 1.461 GB, free: 13.34 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003472/1.701, allocations: 0.8907 MB / 1.462 GB, free: 12.44 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007994/1.702, allocations: 215.4 kB / 1.462 GB, free: 12.23 MB / 1.17 GB Notification: Performance of SimCode: time 1.853e-06/1.702, allocations: 0 / 1.462 GB, free: 12.23 MB / 1.17 GB Notification: Performance of Templates: time 0.09335/1.795, allocations: 50.54 MB / 1.512 GB, free: 10.28 MB / 1.217 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 -s cvode -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