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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002196/0.002196, allocations: 190.8 kB / 16.14 MB, free: 6.645 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 61.84 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4043, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.166/1.57, allocations: 296.9 MB / 1.358 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02412/1.595, allocations: 15.48 MB / 1.373 GB, free: 328 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006002/1.601, allocations: 65.22 kB / 1.373 GB, free: 328 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006023/1.607, allocations: 1.517 MB / 1.374 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0185/1.625, allocations: 5.583 MB / 1.38 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00845/1.634, allocations: 2.571 MB / 1.382 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01261/1.646, allocations: 10.27 MB / 1.392 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00436/1.651, allocations: 2.299 MB / 1.394 GB, free: 8.844 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006058/1.657, allocations: 2.289 MB / 1.397 GB, free: 7.793 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006094/1.663, allocations: 2.74 MB / 1.399 GB, free: 6.473 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007276/1.664, allocations: 199.5 kB / 1.4 GB, free: 6.473 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01481/1.678, allocations: 6.672 MB / 1.406 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003048/1.682, allocations: 1.373 MB / 1.407 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006771/1.688, allocations: 1.772 MB / 1.409 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02233/1.711, allocations: 7.088 MB / 1.416 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/1.711, allocations: 7.938 kB / 1.416 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.565e-06/1.711, allocations: 2.812 kB / 1.416 GB, free: 13.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002593/1.711, allocations: 0 / 1.416 GB, free: 13.25 MB / 1.029 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.01316/1.724, allocations: 4.156 MB / 1.42 GB, free: 9.051 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.724, allocations: 11.97 kB / 1.42 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005707/1.73, allocations: 0.8469 MB / 1.421 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/1.733, allocations: 1.798 MB / 1.423 GB, free: 6.332 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/1.734, allocations: 213.5 kB / 1.423 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/1.734, allocations: 280 kB / 1.423 GB, free: 5.848 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006078/1.74, allocations: 3.627 MB / 1.427 GB, free: 2.125 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.669e-05/1.74, allocations: 11.88 kB / 1.427 GB, free: 2.113 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/1.74, allocations: 116 kB / 1.427 GB, free: 2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/1.741, allocations: 149.5 kB / 1.427 GB, free: 1.852 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006665/1.747, allocations: 3.734 MB / 1.431 GB, free: 14.1 MB / 1.045 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.01691/1.764, allocations: 13.19 MB / 1.444 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/1.769, allocations: 3.244 MB / 1.447 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/1.771, allocations: 1.771 MB / 1.448 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/1.773, allocations: 1.588 MB / 1.45 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/1.773, allocations: 72.75 kB / 1.45 GB, free: 8.797 MB / 1.061 GB Notification: Performance of pre-optimization done (n=285): time 4.038e-06/1.773, allocations: 0 / 1.45 GB, free: 8.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=285): time 0.006958/1.78, allocations: 4.043 MB / 1.454 GB, free: 4.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/1.78, allocations: 81.66 kB / 1.454 GB, free: 4.609 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.782, allocations: 1.436 MB / 1.455 GB, free: 3.168 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/1.782, allocations: 77.7 kB / 1.456 GB, free: 3.086 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007098/1.783, allocations: 1 MB / 1.457 GB, free: 2.074 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009186/1.784, allocations: 0.9663 MB / 1.457 GB, free: 1.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006345/1.785, allocations: 409 kB / 1.458 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/1.785, allocations: 305.1 kB / 1.458 GB, free: 396 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/1.786, allocations: 1.141 MB / 1.459 GB, free: 15.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.788, allocations: 1.393 MB / 1.461 GB, free: 13.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003966/1.792, allocations: 2.713 MB / 1.463 GB, free: 11.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.792, allocations: 4 kB / 1.463 GB, free: 11 MB / 1.076 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005464/1.798, allocations: 3.061 MB / 1.466 GB, free: 7.898 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/1.798, allocations: 8 kB / 1.466 GB, free: 7.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.798, allocations: 0 / 1.466 GB, free: 7.891 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/1.798, allocations: 16 kB / 1.466 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.8, allocations: 0.5071 MB / 1.467 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.114e-05/1.8, allocations: 23.88 kB / 1.467 GB, free: 7.344 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/1.803, allocations: 381.8 kB / 1.467 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/1.804, allocations: 83.92 kB / 1.467 GB, free: 6.887 MB / 1.076 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.001611/1.805, allocations: 0.6902 MB / 1.468 GB, free: 6.188 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000879/1.806, allocations: 229.3 kB / 1.468 GB, free: 5.961 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/1.812, allocations: 3.212 MB / 1.471 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/1.812, allocations: 24 kB / 1.471 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.812, allocations: 7.938 kB / 1.471 GB, free: 2.664 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0043/1.817, allocations: 2.653 MB / 1.474 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.829, allocations: 6.629 MB / 1.48 GB, free: 9.152 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.829, allocations: 4 kB / 1.48 GB, free: 9.148 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002595/1.832, allocations: 0.5426 MB / 1.481 GB, free: 8.605 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.577e-05/1.832, allocations: 12 kB / 1.481 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/1.832, allocations: 71.91 kB / 1.481 GB, free: 8.523 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/1.832, allocations: 12 kB / 1.481 GB, free: 8.512 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.832, allocations: 4 kB / 1.481 GB, free: 8.508 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008206/1.84, allocations: 4.816 MB / 1.486 GB, free: 3.566 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/1.842, allocations: 0.6382 MB / 1.486 GB, free: 2.906 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/1.843, allocations: 52 kB / 1.486 GB, free: 2.855 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/1.845, allocations: 229.9 kB / 1.487 GB, free: 2.633 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/1.846, allocations: 177.8 kB / 1.487 GB, free: 2.457 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.846, allocations: 83.97 kB / 1.487 GB, free: 2.375 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001998/1.848, allocations: 0.9891 MB / 1.488 GB, free: 1.391 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.9e-07/1.848, allocations: 4 kB / 1.488 GB, free: 1.387 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003218/1.851, allocations: 0.9901 MB / 1.489 GB, free: 404 kB / 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.001038/1.852, allocations: 408.8 kB / 1.489 GB, free: 0 / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00523/1.858, allocations: 2.845 MB / 1.492 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.858, allocations: 0 / 1.492 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/1.86, allocations: 1.558 MB / 1.493 GB, free: 11.56 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007853/1.868, allocations: 1.269 MB / 1.495 GB, free: 10.3 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.882, allocations: 7.574 MB / 1.502 GB, free: 2.652 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.885, allocations: 1.998 MB / 1.504 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004371/1.889, allocations: 0.8907 MB / 1.505 GB, free: 15.73 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.89, allocations: 207.4 kB / 1.505 GB, free: 15.52 MB / 1.123 GB Notification: Performance of SimCode: time 1.654e-06/1.89, allocations: 0 / 1.505 GB, free: 15.52 MB / 1.123 GB Notification: Performance of Templates: time 0.08736/1.978, allocations: 48.53 MB / 1.553 GB, free: 15.54 MB / 1.17 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