Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreeRoomsContam,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.dp1",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,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.dp1",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 105 kB / 16.41 MB, free: 6.457 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.001152/0.001152, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.401/2.401, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.88 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6336, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.2529/0.8865, allocations: 284.3 MB / 1.486 GB, free: 348 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.9084, allocations: 17.31 MB / 1.503 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.9108, allocations: 71.69 kB / 1.503 GB, free: 14.91 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.9146, allocations: 1.713 MB / 1.505 GB, free: 13.19 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.927, allocations: 5.895 MB / 1.51 GB, free: 7.27 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006185/0.9332, allocations: 2.815 MB / 1.513 GB, free: 4.457 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007641/0.9408, allocations: 6.572 MB / 1.52 GB, free: 13.87 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.9441, allocations: 2.555 MB / 1.522 GB, free: 11.26 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.9478, allocations: 2.488 MB / 1.524 GB, free: 8.762 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.9512, allocations: 2.408 MB / 1.527 GB, free: 6.355 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.9517, allocations: 300 kB / 1.527 GB, free: 6.062 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00981/0.9615, allocations: 5.939 MB / 1.533 GB, free: 112 kB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.963, allocations: 1.301 MB / 1.534 GB, free: 14.8 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.965, allocations: 1.715 MB / 1.536 GB, free: 13.08 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008973/0.9739, allocations: 6.428 MB / 1.542 GB, free: 6.637 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.974, allocations: 0 / 1.542 GB, free: 6.637 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.543e-06/0.974, allocations: 0 / 1.542 GB, free: 6.637 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.101e-05/0.974, allocations: 0 / 1.542 GB, free: 6.637 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.007996/0.982, allocations: 3.744 MB / 1.546 GB, free: 2.828 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.9821, allocations: 12.03 kB / 1.546 GB, free: 2.816 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.9872, allocations: 0.8082 MB / 1.547 GB, free: 2.004 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.9899, allocations: 1.711 MB / 1.548 GB, free: 240 kB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.99, allocations: 180.8 kB / 1.548 GB, free: 56 kB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.9904, allocations: 247.9 kB / 1.549 GB, free: 15.81 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004739/0.9952, allocations: 3.095 MB / 1.552 GB, free: 12.61 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.9952, allocations: 4 kB / 1.552 GB, free: 12.61 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.9954, allocations: 99.98 kB / 1.552 GB, free: 12.51 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.9956, allocations: 132.7 kB / 1.552 GB, free: 12.38 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004393/1, allocations: 2.845 MB / 1.555 GB, free: 9.516 MB / 1.279 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.52/1.52, allocations: 12.09 MB / 1.567 GB, free: 345.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/1.523, allocations: 2.288 MB / 1.569 GB, free: 344.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/1.525, allocations: 1.25 MB / 1.57 GB, free: 343.8 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008585/1.526, allocations: 1.373 MB / 1.571 GB, free: 342.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.526, allocations: 57.56 kB / 1.571 GB, free: 342.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=197): time 3.557e-06/1.526, allocations: 3.562 kB / 1.571 GB, free: 342.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=197): time 0.004416/1.53, allocations: 2.828 MB / 1.574 GB, free: 341.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/1.53, allocations: 75.97 kB / 1.574 GB, free: 341.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.532, allocations: 1.317 MB / 1.576 GB, free: 340.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/1.532, allocations: 59.33 kB / 1.576 GB, free: 340.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/1.533, allocations: 0.9541 MB / 1.576 GB, free: 340 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/1.533, allocations: 0.6736 MB / 1.577 GB, free: 339.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/1.533, allocations: 296.7 kB / 1.577 GB, free: 339.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.286e-05/1.533, allocations: 301.7 kB / 1.578 GB, free: 339.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/1.535, allocations: 0.7814 MB / 1.578 GB, free: 338.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.536, allocations: 0.9722 MB / 1.579 GB, free: 338.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/1.538, allocations: 1.875 MB / 1.581 GB, free: 337.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.538, allocations: 0.7031 kB / 1.581 GB, free: 337.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002847/1.541, allocations: 2.159 MB / 1.583 GB, free: 336.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.541, allocations: 8.297 kB / 1.583 GB, free: 336.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.541, allocations: 7.141 kB / 1.583 GB, free: 336.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.541, allocations: 11.88 kB / 1.583 GB, free: 336.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/1.543, allocations: 381.1 kB / 1.584 GB, free: 336.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.543, allocations: 9.391 kB / 1.584 GB, free: 336.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.544, allocations: 146.8 kB / 1.584 GB, free: 336.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.544, allocations: 61.33 kB / 1.584 GB, free: 336.4 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.0008767/1.545, allocations: 0.5912 MB / 1.585 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/1.545, allocations: 201 kB / 1.585 GB, free: 336 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/1.548, allocations: 2.256 MB / 1.587 GB, free: 335.1 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.548, allocations: 20.25 kB / 1.587 GB, free: 335.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.548, allocations: 2.625 kB / 1.587 GB, free: 335.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/1.551, allocations: 1.873 MB / 1.589 GB, free: 334.3 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/1.556, allocations: 5.102 MB / 1.594 GB, free: 332.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.556, allocations: 5.078 kB / 1.594 GB, free: 332.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.558, allocations: 420 kB / 1.594 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.558, allocations: 9.781 kB / 1.594 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.558, allocations: 56.08 kB / 1.594 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.558, allocations: 8.969 kB / 1.594 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.558, allocations: 2.594 kB / 1.594 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/1.562, allocations: 3.407 MB / 1.598 GB, free: 330.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/1.563, allocations: 0.5017 MB / 1.598 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/1.563, allocations: 55.5 kB / 1.598 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.564, allocations: 47.42 kB / 1.598 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/1.564, allocations: 127.6 kB / 1.598 GB, free: 329.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.935e-05/1.564, allocations: 66.23 kB / 1.598 GB, free: 329.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008466/1.565, allocations: 0.9072 MB / 1.599 GB, free: 328.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.11e-07/1.565, allocations: 0 / 1.599 GB, free: 328.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001336/1.567, allocations: 0.8515 MB / 1.6 GB, free: 327.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,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 (201): * Single equations (assignments): 201 * 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.0005431/1.567, allocations: 371.2 kB / 1.6 GB, free: 327.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002213/1.569, allocations: 1.986 MB / 1.602 GB, free: 325.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.569, allocations: 0 / 1.602 GB, free: 325.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.57, allocations: 1.084 MB / 1.603 GB, free: 324.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/1.575, allocations: 1.241 MB / 1.605 GB, free: 323.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/1.58, allocations: 5.422 MB / 1.61 GB, free: 318.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/1.581, allocations: 1.828 MB / 1.612 GB, free: 316.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/1.582, allocations: 195.4 kB / 1.612 GB, free: 316.2 MB / 1.279 GB Notification: Performance of SimCode: time 8.31e-07/1.582, allocations: 0 / 1.612 GB, free: 316.2 MB / 1.279 GB Notification: Performance of Templates: time 0.03761/1.62, allocations: 38.19 MB / 1.649 GB, free: 278.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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.dp1 Variables in the result:dooOpeClo.dp1,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,oriEasTop.dp,oriEasTop.port_a.m_flow,oriOutBot.dp,oriOutBot.port_a.m_flow,oriOutTop.dp,oriOutTop.port_a.m_flow,oriWesTop.dp,oriWesTop.port_a.m_flow,time,volEas.T,volOut.T,volTop.T,volWes.T