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.0009866/0.0009865, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001151/0.001151, allocations: 168.7 kB / 15.95 MB, free: 204 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.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.921/2.921, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 14.8 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3338, allocations: 159.6 MB / 1.058 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.002/1.336, allocations: 273.3 MB / 1.325 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02076/1.357, allocations: 14.37 MB / 1.339 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/1.361, allocations: 57.56 kB / 1.339 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004679/1.366, allocations: 1.138 MB / 1.34 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/1.38, allocations: 4.304 MB / 1.344 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007305/1.387, allocations: 1.996 MB / 1.346 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01023/1.397, allocations: 8.593 MB / 1.355 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/1.401, allocations: 2.059 MB / 1.357 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004963/1.406, allocations: 2.257 MB / 1.359 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004241/1.41, allocations: 2.538 MB / 1.361 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005225/1.411, allocations: 172.4 kB / 1.361 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008954/1.42, allocations: 2.873 MB / 1.364 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/1.422, allocations: 1.33 MB / 1.366 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00211/1.424, allocations: 0.6749 MB / 1.366 GB, free: 20.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007955/1.432, allocations: 4.558 MB / 1.371 GB, free: 18.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.432, allocations: 0 / 1.371 GB, free: 18.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/1.432, allocations: 0 / 1.371 GB, free: 18.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001433/1.432, allocations: 0 / 1.371 GB, free: 18.62 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.009912/1.442, allocations: 3.589 MB / 1.374 GB, free: 16.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.442, allocations: 9.406 kB / 1.374 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005654/1.448, allocations: 0.8563 MB / 1.375 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/1.451, allocations: 1.732 MB / 1.377 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.452, allocations: 212.5 kB / 1.377 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005401/1.452, allocations: 281.8 kB / 1.377 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006119/1.458, allocations: 3.611 MB / 1.381 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/1.458, allocations: 3.312 kB / 1.381 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/1.459, allocations: 117.6 kB / 1.381 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/1.459, allocations: 146.6 kB / 1.381 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/1.465, allocations: 3.71 MB / 1.385 GB, free: 13.68 MB / 1.014 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.01765/1.483, allocations: 13.21 MB / 1.398 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004046/1.487, allocations: 3.229 MB / 1.401 GB, free: 4.195 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/1.489, allocations: 1.763 MB / 1.402 GB, free: 3.945 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/1.49, allocations: 1.599 MB / 1.404 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.491, allocations: 61.09 kB / 1.404 GB, free: 2.145 MB / 1.014 GB Notification: Performance of pre-optimization done (n=285): time 4.639e-06/1.491, allocations: 0 / 1.404 GB, free: 2.145 MB / 1.014 GB Notification: Performance of matching and sorting (n=285): time 0.006311/1.497, allocations: 4.024 MB / 1.408 GB, free: 1.441 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.497, allocations: 81.59 kB / 1.408 GB, free: 1.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/1.499, allocations: 1.428 MB / 1.409 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.499, allocations: 76.89 kB / 1.41 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007232/1.5, allocations: 1 MB / 1.41 GB, free: 136 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009482/1.501, allocations: 0.9685 MB / 1.411 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.501, allocations: 51.12 kB / 1.411 GB, free: 15.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.501, allocations: 404.8 kB / 1.412 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/1.503, allocations: 1.131 MB / 1.413 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/1.505, allocations: 1.373 MB / 1.414 GB, free: 13.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/1.507, allocations: 1.331 MB / 1.416 GB, free: 12.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.507, allocations: 4 kB / 1.416 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005001/1.512, allocations: 3.035 MB / 1.419 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.512, allocations: 8 kB / 1.419 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.512, allocations: 4 kB / 1.419 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/1.512, allocations: 12 kB / 1.419 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.514, allocations: 0.507 MB / 1.419 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.254e-05/1.514, allocations: 20.47 kB / 1.419 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/1.517, allocations: 385.7 kB / 1.419 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/1.517, allocations: 82.98 kB / 1.42 GB, free: 9.363 MB / 1.029 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001559/1.519, allocations: 0.6884 MB / 1.42 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005957/1.519, allocations: 233.3 kB / 1.42 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/1.525, allocations: 3.202 MB / 1.424 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.525, allocations: 24 kB / 1.424 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.525, allocations: 4 kB / 1.424 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003783/1.528, allocations: 2.651 MB / 1.426 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.54, allocations: 6.62 MB / 1.433 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.54, allocations: 4 kB / 1.433 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.543, allocations: 0.5426 MB / 1.433 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/1.543, allocations: 16 kB / 1.433 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/1.543, allocations: 67.97 kB / 1.433 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/1.543, allocations: 15.94 kB / 1.433 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.543, allocations: 4 kB / 1.433 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007444/1.55, allocations: 4.796 MB / 1.438 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/1.552, allocations: 0.6291 MB / 1.439 GB, free: 9.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/1.552, allocations: 52 kB / 1.439 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.554, allocations: 227.5 kB / 1.439 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/1.555, allocations: 177.9 kB / 1.439 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.555, allocations: 83.97 kB / 1.439 GB, free: 9.199 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0015/1.556, allocations: 0.9735 MB / 1.44 GB, free: 8.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.556, allocations: 4 kB / 1.44 GB, free: 8.227 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002481/1.559, allocations: 0.9978 MB / 1.441 GB, free: 7.227 MB / 1.045 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 (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.0008672/1.56, allocations: 415.3 kB / 1.441 GB, free: 6.844 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00455/1.564, allocations: 2.829 MB / 1.444 GB, free: 3.984 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.564, allocations: 0 / 1.444 GB, free: 3.984 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002188/1.567, allocations: 1.55 MB / 1.446 GB, free: 2.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/1.572, allocations: 1.27 MB / 1.447 GB, free: 1.168 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.583, allocations: 7.635 MB / 1.454 GB, free: 9.461 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/1.585, allocations: 1.99 MB / 1.456 GB, free: 7.438 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003617/1.589, allocations: 0.8946 MB / 1.457 GB, free: 6.539 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/1.59, allocations: 211.4 kB / 1.457 GB, free: 6.332 MB / 1.061 GB Notification: Performance of SimCode: time 1.212e-06/1.59, allocations: 4 kB / 1.457 GB, free: 6.328 MB / 1.061 GB Notification: Performance of Templates: time 0.08745/1.677, allocations: 46.68 MB / 1.503 GB, free: 8.289 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches