Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001784/0.001784, 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.002054/0.002054, allocations: 200 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.00157, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8234, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.3056/1.129, allocations: 296.9 MB / 1.24 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8132/1.942, allocations: 15.48 MB / 1.255 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/1.946, allocations: 64.03 kB / 1.255 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005372/1.952, allocations: 1.515 MB / 1.256 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01769/1.97, allocations: 5.588 MB / 1.262 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009428/1.979, allocations: 2.564 MB / 1.264 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01767/1.997, allocations: 10.26 MB / 1.274 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006232/2.003, allocations: 2.314 MB / 1.276 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/2.011, allocations: 2.29 MB / 1.279 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007288/2.018, allocations: 2.731 MB / 1.281 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001737/2.02, allocations: 198.5 kB / 1.282 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01534/2.035, allocations: 6.669 MB / 1.288 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003433/2.039, allocations: 1.372 MB / 1.289 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006523/2.045, allocations: 1.773 MB / 1.291 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/2.056, allocations: 5.052 MB / 1.296 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/2.056, allocations: 0 / 1.296 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/2.056, allocations: 2.406 kB / 1.296 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002356/2.056, allocations: 0 / 1.296 GB, free: 15.55 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: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01586/2.072, allocations: 4.162 MB / 1.3 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/2.072, allocations: 8.594 kB / 1.3 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007026/2.079, allocations: 0.841 MB / 1.301 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/2.084, allocations: 1.802 MB / 1.303 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/2.085, allocations: 208.7 kB / 1.303 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/2.086, allocations: 288.8 kB / 1.303 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/2.097, allocations: 3.627 MB / 1.307 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/2.097, allocations: 5.75 kB / 1.307 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008539/2.098, allocations: 120.5 kB / 1.307 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/2.098, allocations: 152.4 kB / 1.307 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008231/2.106, allocations: 3.73 MB / 1.311 GB, free: 12.83 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.0205/2.127, allocations: 13.2 MB / 1.324 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/2.132, allocations: 3.233 MB / 1.327 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/2.136, allocations: 1.78 MB / 1.328 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/2.137, allocations: 1.589 MB / 1.33 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/2.137, allocations: 60.53 kB / 1.33 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=285): time 5.23e-06/2.137, allocations: 2.938 kB / 1.33 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285): time 0.008044/2.145, allocations: 4.053 MB / 1.334 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/2.145, allocations: 84.97 kB / 1.334 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/2.148, allocations: 1.422 MB / 1.335 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000347/2.148, allocations: 78.17 kB / 1.336 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/2.149, allocations: 1.005 MB / 1.337 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/2.15, allocations: 0.9645 MB / 1.337 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009256/2.151, allocations: 409.5 kB / 1.338 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/2.151, allocations: 305.1 kB / 1.338 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/2.153, allocations: 1.142 MB / 1.339 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/2.155, allocations: 1.386 MB / 1.341 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004316/2.159, allocations: 2.713 MB / 1.343 GB, free: 260 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/2.159, allocations: 0 / 1.343 GB, free: 260 kB / 0.9981 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005671/2.165, allocations: 3.063 MB / 1.346 GB, free: 15.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/2.165, allocations: 6.062 kB / 1.346 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/2.165, allocations: 2.469 kB / 1.346 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/2.165, allocations: 18.59 kB / 1.346 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/2.168, allocations: 0.5083 MB / 1.347 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.272e-05/2.168, allocations: 16.28 kB / 1.347 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/2.171, allocations: 384 kB / 1.347 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003617/2.171, allocations: 85.42 kB / 1.347 GB, free: 15.46 MB / 1.014 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.001793/2.173, allocations: 0.6846 MB / 1.348 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009899/2.174, allocations: 239.7 kB / 1.348 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006298/2.18, allocations: 3.207 MB / 1.351 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/2.18, allocations: 32.12 kB / 1.351 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/2.18, allocations: 3.938 kB / 1.351 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004425/2.185, allocations: 2.65 MB / 1.354 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/2.199, allocations: 6.632 MB / 1.36 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/2.199, allocations: 0 / 1.36 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002655/2.201, allocations: 0.5442 MB / 1.361 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.692e-05/2.201, allocations: 12 kB / 1.361 GB, free: 7.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/2.202, allocations: 71.92 kB / 1.361 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-05/2.202, allocations: 12 kB / 1.361 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/2.202, allocations: 10.84 kB / 1.361 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008409/2.21, allocations: 4.82 MB / 1.366 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/2.212, allocations: 0.6149 MB / 1.366 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/2.213, allocations: 56 kB / 1.366 GB, free: 1.957 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/2.216, allocations: 227.5 kB / 1.367 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/2.216, allocations: 176.8 kB / 1.367 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/2.217, allocations: 87.97 kB / 1.367 GB, free: 1.477 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0021/2.219, allocations: 0.9852 MB / 1.368 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/2.219, allocations: 4 kB / 1.368 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003621/2.222, allocations: 0.9978 MB / 1.369 GB, free: 15.49 MB / 1.029 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.001151/2.224, allocations: 411.6 kB / 1.369 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005778/2.229, allocations: 2.839 MB / 1.372 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/2.229, allocations: 0 / 1.372 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/2.232, allocations: 1.558 MB / 1.373 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007821/2.24, allocations: 1.278 MB / 1.375 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/2.255, allocations: 7.76 MB / 1.382 GB, free: 1.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/2.258, allocations: 1.99 MB / 1.384 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/2.26, allocations: 239.4 kB / 1.384 GB, free: 15.47 MB / 1.045 GB Notification: Performance of SimCode: time 1.242e-06/2.26, allocations: 4 kB / 1.384 GB, free: 15.47 MB / 1.045 GB Notification: Performance of Templates: time 0.07216/2.332, allocations: 44.41 MB / 1.428 GB, free: 3.418 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches