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.002097/0.002097, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003174/0.003173, allocations: 191 kB / 16.25 MB, free: 6.637 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 72.28 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3975, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.146/1.544, allocations: 295.7 MB / 1.356 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02474/1.568, allocations: 15.24 MB / 1.371 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006367/1.575, allocations: 65 kB / 1.371 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005929/1.581, allocations: 1.561 MB / 1.373 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0192/1.6, allocations: 5.562 MB / 1.378 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008917/1.609, allocations: 2.602 MB / 1.381 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01178/1.621, allocations: 7.116 MB / 1.388 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004477/1.625, allocations: 2.621 MB / 1.39 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00636/1.632, allocations: 2.647 MB / 1.393 GB, free: 10.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006335/1.638, allocations: 2.802 MB / 1.396 GB, free: 9.012 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009127/1.639, allocations: 346.3 kB / 1.396 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/1.654, allocations: 5.977 MB / 1.402 GB, free: 6.469 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002967/1.657, allocations: 1.514 MB / 1.403 GB, free: 5.469 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004295/1.662, allocations: 1.927 MB / 1.405 GB, free: 4.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01625/1.678, allocations: 7.21 MB / 1.412 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.678, allocations: 0 / 1.412 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/1.678, allocations: 2.906 kB / 1.412 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001282/1.678, allocations: 0 / 1.412 GB, free: 15.98 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.01208/1.69, allocations: 4.159 MB / 1.416 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.69, allocations: 8.031 kB / 1.416 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005841/1.696, allocations: 0.8413 MB / 1.417 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/1.7, allocations: 1.804 MB / 1.419 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/1.701, allocations: 213.5 kB / 1.419 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004471/1.701, allocations: 280 kB / 1.419 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006525/1.708, allocations: 3.631 MB / 1.423 GB, free: 7.141 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/1.708, allocations: 4 kB / 1.423 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/1.708, allocations: 116 kB / 1.423 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/1.708, allocations: 145.5 kB / 1.423 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006263/1.714, allocations: 3.738 MB / 1.427 GB, free: 3.129 MB / 1.029 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.02141/1.736, allocations: 13.19 MB / 1.44 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00527/1.741, allocations: 3.245 MB / 1.443 GB, free: 1.594 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/1.744, allocations: 1.779 MB / 1.445 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/1.746, allocations: 1.588 MB / 1.446 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.614e-05/1.746, allocations: 68.81 kB / 1.446 GB, free: 13.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=285): time 4.949e-06/1.746, allocations: 0 / 1.446 GB, free: 13.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=285): time 0.007758/1.754, allocations: 4.039 MB / 1.45 GB, free: 9.715 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/1.754, allocations: 81.59 kB / 1.45 GB, free: 9.621 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/1.757, allocations: 1.44 MB / 1.452 GB, free: 8.176 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002264/1.757, allocations: 77.7 kB / 1.452 GB, free: 8.094 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.758, allocations: 1.008 MB / 1.453 GB, free: 7.074 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/1.759, allocations: 0.9663 MB / 1.454 GB, free: 6.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007903/1.76, allocations: 405 kB / 1.454 GB, free: 5.691 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002383/1.76, allocations: 305.1 kB / 1.454 GB, free: 5.391 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/1.762, allocations: 1.149 MB / 1.455 GB, free: 4.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/1.765, allocations: 1.382 MB / 1.457 GB, free: 2.805 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/1.77, allocations: 2.713 MB / 1.459 GB, free: 16 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.77, allocations: 4 kB / 1.459 GB, free: 12 kB / 1.061 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.00596/1.776, allocations: 3.057 MB / 1.462 GB, free: 12.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/1.776, allocations: 8 kB / 1.462 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.776, allocations: 416 / 1.462 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/1.776, allocations: 20 kB / 1.463 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/1.778, allocations: 0.5071 MB / 1.463 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/1.778, allocations: 16 kB / 1.463 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/1.781, allocations: 381.5 kB / 1.463 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/1.782, allocations: 83.98 kB / 1.463 GB, free: 11.9 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.001744/1.783, allocations: 0.6884 MB / 1.464 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005254/1.784, allocations: 233.3 kB / 1.464 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/1.789, allocations: 3.211 MB / 1.467 GB, free: 7.707 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/1.789, allocations: 24 kB / 1.468 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.789, allocations: 4 kB / 1.468 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004131/1.793, allocations: 2.661 MB / 1.47 GB, free: 4.969 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.805, allocations: 6.633 MB / 1.477 GB, free: 14.15 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.805, allocations: 8 kB / 1.477 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/1.807, allocations: 0.5423 MB / 1.477 GB, free: 13.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.274e-05/1.807, allocations: 12 kB / 1.477 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/1.808, allocations: 59.98 kB / 1.477 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/1.808, allocations: 16.12 kB / 1.477 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.808, allocations: 4 kB / 1.477 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007044/1.815, allocations: 4.82 MB / 1.482 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.816, allocations: 0.6265 MB / 1.483 GB, free: 7.918 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003993/1.817, allocations: 56 kB / 1.483 GB, free: 7.863 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.819, allocations: 220.9 kB / 1.483 GB, free: 7.648 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/1.819, allocations: 185.8 kB / 1.483 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.819, allocations: 83.98 kB / 1.483 GB, free: 7.383 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001424/1.821, allocations: 0.9929 MB / 1.484 GB, free: 6.395 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.821, allocations: 0 / 1.484 GB, free: 6.395 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002493/1.823, allocations: 0.9901 MB / 1.485 GB, free: 5.402 MB / 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.0008741/1.824, allocations: 412.4 kB / 1.485 GB, free: 5.008 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.837, allocations: 5.888 MB / 1.491 GB, free: 15.09 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.837, allocations: 4.812 kB / 1.491 GB, free: 15.08 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/1.839, allocations: 1.558 MB / 1.493 GB, free: 13.52 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006236/1.845, allocations: 1.33 MB / 1.494 GB, free: 12.22 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.857, allocations: 7.575 MB / 1.501 GB, free: 4.574 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/1.858, allocations: 1.994 MB / 1.503 GB, free: 2.547 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003756/1.862, allocations: 0.8985 MB / 1.504 GB, free: 1.645 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007956/1.863, allocations: 211.4 kB / 1.504 GB, free: 1.438 MB / 1.107 GB Notification: Performance of SimCode: time 1.373e-06/1.863, allocations: 0 / 1.504 GB, free: 1.438 MB / 1.107 GB Notification: Performance of Templates: time 0.08888/1.952, allocations: 50.23 MB / 1.553 GB, free: 15.8 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