Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 114 kB / 16.42 MB, free: 6.508 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.001696/0.001696, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 472.7 MB / 0.746 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7313, allocations: 159.9 MB / 1.226 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.1857/0.9171, allocations: 185.1 MB / 1.407 GB, free: 3.836 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008545/0.9257, allocations: 6.785 MB / 1.414 GB, free: 13.03 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.9264, allocations: 27.81 kB / 1.414 GB, free: 13 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000907/0.9273, allocations: 349.8 kB / 1.414 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.9319, allocations: 2.081 MB / 1.416 GB, free: 10.58 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.9335, allocations: 0.6876 MB / 1.417 GB, free: 9.898 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.9354, allocations: 1.833 MB / 1.419 GB, free: 8.055 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/0.9364, allocations: 0.8852 MB / 1.419 GB, free: 7.16 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.9384, allocations: 1.16 MB / 1.421 GB, free: 5.996 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.939, allocations: 0.5683 MB / 1.421 GB, free: 5.426 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.9392, allocations: 84 kB / 1.421 GB, free: 5.344 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.9436, allocations: 2.455 MB / 1.424 GB, free: 2.883 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.9448, allocations: 0.6015 MB / 1.424 GB, free: 2.297 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.9454, allocations: 0.634 MB / 1.425 GB, free: 1.66 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.9489, allocations: 2.804 MB / 1.428 GB, free: 14.85 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.9489, allocations: 0 / 1.428 GB, free: 14.85 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.362e-06/0.949, allocations: 3.938 kB / 1.428 GB, free: 14.84 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.949, allocations: 0 / 1.428 GB, free: 14.84 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002044/0.951, allocations: 1.55 MB / 1.429 GB, free: 13.24 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9511, allocations: 8.031 kB / 1.429 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.9528, allocations: 366.9 kB / 1.429 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.9542, allocations: 0.9334 MB / 1.43 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.9543, allocations: 69.98 kB / 1.43 GB, free: 11.83 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.9544, allocations: 84 kB / 1.43 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.956, allocations: 1.065 MB / 1.431 GB, free: 10.68 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.956, allocations: 4 kB / 1.432 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.9561, allocations: 35.94 kB / 1.432 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.9561, allocations: 38 kB / 1.432 GB, free: 10.6 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.9575, allocations: 0.9915 MB / 1.433 GB, free: 9.605 MB / 1.154 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.004338/0.9619, allocations: 3.628 MB / 1.436 GB, free: 5.734 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.963, allocations: 0.7238 MB / 1.437 GB, free: 5.004 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.9635, allocations: 467 kB / 1.437 GB, free: 4.543 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-05/0.9636, allocations: 24.53 kB / 1.437 GB, free: 4.52 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.9637, allocations: 39.12 kB / 1.437 GB, free: 4.473 MB / 1.154 GB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/0.9637, allocations: 4 kB / 1.437 GB, free: 4.469 MB / 1.154 GB Notification: Performance of matching and sorting (n=62): time 0.002474/0.9662, allocations: 1.238 MB / 1.439 GB, free: 3.203 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.9662, allocations: 59.97 kB / 1.439 GB, free: 3.133 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.9671, allocations: 0.7308 MB / 1.439 GB, free: 2.395 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.9672, allocations: 45.69 kB / 1.439 GB, free: 2.344 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.9674, allocations: 412.7 kB / 1.44 GB, free: 1.934 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.9677, allocations: 238 kB / 1.44 GB, free: 1.699 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.9679, allocations: 118.3 kB / 1.44 GB, free: 1.574 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.968, allocations: 386.8 kB / 1.44 GB, free: 1.188 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.9685, allocations: 339.3 kB / 1.441 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.969, allocations: 436.2 kB / 1.441 GB, free: 420 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.9701, allocations: 0.7381 MB / 1.442 GB, free: 15.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9701, allocations: 0 / 1.442 GB, free: 15.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001307/0.9714, allocations: 0.895 MB / 1.443 GB, free: 14.75 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9714, allocations: 10.28 kB / 1.443 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9714, allocations: 0 / 1.443 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.9715, allocations: 4 kB / 1.443 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.9722, allocations: 147.8 kB / 1.443 GB, free: 14.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004408/0.9726, allocations: 0.5937 MB / 1.443 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.9732, allocations: 71.61 kB / 1.444 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.9733, allocations: 31.98 kB / 1.444 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008238/0.9742, allocations: 0.6105 MB / 1.444 GB, free: 13.27 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005122/0.9747, allocations: 440.1 kB / 1.445 GB, free: 12.82 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009197/0.9756, allocations: 0.7381 MB / 1.445 GB, free: 12.07 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.9756, allocations: 0 / 1.445 GB, free: 12.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0012/0.9768, allocations: 0.8911 MB / 1.446 GB, free: 11.17 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.9768, allocations: 4 kB / 1.446 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9769, allocations: 3.938 kB / 1.446 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.9769, allocations: 4 kB / 1.446 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.9774, allocations: 135.8 kB / 1.446 GB, free: 11.03 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9774, allocations: 7.984 kB / 1.446 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.9779, allocations: 59.73 kB / 1.446 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.978, allocations: 24 kB / 1.446 GB, free: 10.94 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.9782, allocations: 212.1 kB / 1.447 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.9783, allocations: 87.42 kB / 1.447 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.9797, allocations: 0.8743 MB / 1.448 GB, free: 9.75 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.9807, allocations: 0.8266 MB / 1.448 GB, free: 8.887 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9807, allocations: 0 / 1.448 GB, free: 8.887 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.9811, allocations: 256.4 kB / 1.449 GB, free: 8.617 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.9812, allocations: 12 kB / 1.449 GB, free: 8.605 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.9817, allocations: 35.91 kB / 1.449 GB, free: 8.57 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.9818, allocations: 40.5 kB / 1.449 GB, free: 8.531 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001571/0.9834, allocations: 0.9532 MB / 1.45 GB, free: 7.566 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001611/0.985, allocations: 1.373 MB / 1.451 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004395/0.9854, allocations: 376.2 kB / 1.451 GB, free: 5.809 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005749/0.986, allocations: 0.5302 MB / 1.452 GB, free: 5.281 MB / 1.17 GB Notification: Performance of Backend: time 3.61e-07/0.986, allocations: 0 / 1.452 GB, free: 5.281 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004051/0.9901, allocations: 1.756 MB / 1.454 GB, free: 3.535 MB / 1.17 GB Notification: Performance of SimCode: time 0.004202/0.9943, allocations: 2.811 MB / 1.456 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of Templates: time 0.0404/1.035, allocations: 28.93 MB / 1.485 GB, free: 3.883 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches