Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_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.001106/0.001106, allocations: 111.8 kB / 16.42 MB, free: 6.496 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.001189/0.001189, allocations: 188.3 kB / 17.35 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 68.3 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/0.7239, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.1988/0.9227, allocations: 185.1 MB / 1.348 GB, free: 10.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009833/0.9326, allocations: 6.773 MB / 1.355 GB, free: 3.285 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.9337, allocations: 27.81 kB / 1.355 GB, free: 3.258 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.9349, allocations: 353.8 kB / 1.355 GB, free: 2.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006476/0.9414, allocations: 2.076 MB / 1.357 GB, free: 0.832 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.9436, allocations: 0.6859 MB / 1.358 GB, free: 156 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.9465, allocations: 1.829 MB / 1.36 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.9479, allocations: 0.8862 MB / 1.36 GB, free: 13.42 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.9504, allocations: 1.168 MB / 1.362 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009428/0.9513, allocations: 0.5644 MB / 1.362 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.9516, allocations: 84 kB / 1.362 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/0.9565, allocations: 2.455 MB / 1.365 GB, free: 9.137 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.958, allocations: 0.6017 MB / 1.365 GB, free: 8.551 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.9591, allocations: 0.6379 MB / 1.366 GB, free: 7.91 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0048/0.9639, allocations: 2.812 MB / 1.368 GB, free: 5.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9639, allocations: 0 / 1.368 GB, free: 5.09 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9639, allocations: 3.938 kB / 1.368 GB, free: 5.086 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.261e-05/0.964, allocations: 0 / 1.368 GB, free: 5.086 MB / 1.092 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.00299/0.967, allocations: 1.54 MB / 1.37 GB, free: 3.488 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.967, allocations: 8.922 kB / 1.37 GB, free: 3.48 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.9689, allocations: 374.8 kB / 1.37 GB, free: 3.113 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.9706, allocations: 0.9335 MB / 1.371 GB, free: 2.141 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.9707, allocations: 62 kB / 1.371 GB, free: 2.078 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.9708, allocations: 84 kB / 1.371 GB, free: 1.996 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.9726, allocations: 1.065 MB / 1.372 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.9726, allocations: 0 / 1.372 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.9728, allocations: 43.92 kB / 1.372 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.9728, allocations: 41.94 kB / 1.373 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.9744, allocations: 0.9916 MB / 1.374 GB, free: 15.85 MB / 1.107 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.004916/0.9793, allocations: 3.613 MB / 1.377 GB, free: 11.99 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.9804, allocations: 0.7295 MB / 1.378 GB, free: 11.26 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/0.981, allocations: 461.7 kB / 1.378 GB, free: 10.81 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.59e-05/0.9811, allocations: 32.53 kB / 1.378 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.9812, allocations: 43.12 kB / 1.378 GB, free: 10.72 MB / 1.107 GB Notification: Performance of pre-optimization done (n=62): time 2.595e-06/0.9812, allocations: 0 / 1.378 GB, free: 10.72 MB / 1.107 GB Notification: Performance of matching and sorting (n=62): time 0.002362/0.9835, allocations: 1.238 MB / 1.379 GB, free: 9.461 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.9836, allocations: 59.97 kB / 1.38 GB, free: 9.391 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.9845, allocations: 0.7425 MB / 1.38 GB, free: 8.641 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.9845, allocations: 37.7 kB / 1.38 GB, free: 8.598 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.9848, allocations: 404.8 kB / 1.381 GB, free: 8.195 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.985, allocations: 242 kB / 1.381 GB, free: 7.957 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.9852, allocations: 114.3 kB / 1.381 GB, free: 7.84 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9854, allocations: 390.8 kB / 1.381 GB, free: 7.449 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.9859, allocations: 339.3 kB / 1.382 GB, free: 7.113 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.9864, allocations: 432.2 kB / 1.382 GB, free: 6.672 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.9874, allocations: 0.742 MB / 1.383 GB, free: 5.918 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.9875, allocations: 0 / 1.383 GB, free: 5.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001335/0.9888, allocations: 0.895 MB / 1.384 GB, free: 5.016 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9888, allocations: 5.875 kB / 1.384 GB, free: 5.012 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9888, allocations: 4 kB / 1.384 GB, free: 5.008 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.9889, allocations: 4.094 kB / 1.384 GB, free: 5.004 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.9896, allocations: 143.8 kB / 1.384 GB, free: 4.863 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003752/0.99, allocations: 0.5937 MB / 1.384 GB, free: 4.246 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.9907, allocations: 75.52 kB / 1.385 GB, free: 4.172 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.9908, allocations: 27.98 kB / 1.385 GB, free: 4.145 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008264/0.9916, allocations: 0.6183 MB / 1.385 GB, free: 3.523 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005475/0.9922, allocations: 428.2 kB / 1.386 GB, free: 3.086 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009766/0.9932, allocations: 0.7342 MB / 1.386 GB, free: 2.344 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.9932, allocations: 0 / 1.386 GB, free: 2.344 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001348/0.9946, allocations: 0.895 MB / 1.387 GB, free: 1.441 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.9946, allocations: 4 kB / 1.387 GB, free: 1.438 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.9946, allocations: 7.938 kB / 1.387 GB, free: 1.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.9946, allocations: 0 / 1.387 GB, free: 1.43 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.9951, allocations: 135.8 kB / 1.387 GB, free: 1.297 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.9952, allocations: 7.984 kB / 1.387 GB, free: 1.289 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.9958, allocations: 59.58 kB / 1.387 GB, free: 1.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.9959, allocations: 24 kB / 1.387 GB, free: 1.207 MB / 1.107 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.0001986/0.9961, allocations: 212.3 kB / 1.388 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.9963, allocations: 87.42 kB / 1.388 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.9977, allocations: 0.8743 MB / 1.389 GB, free: 16 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.9988, allocations: 0.8266 MB / 1.389 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.9988, allocations: 0 / 1.389 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.9992, allocations: 256.4 kB / 1.39 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.9993, allocations: 12 kB / 1.39 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.9999, allocations: 31.91 kB / 1.39 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/1, allocations: 40.5 kB / 1.39 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/1.002, allocations: 0.9571 MB / 1.391 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001675/1.003, allocations: 1.373 MB / 1.392 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004495/1.004, allocations: 372.2 kB / 1.392 GB, free: 12.08 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006332/1.004, allocations: 0.5302 MB / 1.393 GB, free: 11.55 MB / 1.123 GB Notification: Performance of Backend: time 3.8e-07/1.004, allocations: 0 / 1.393 GB, free: 11.55 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004414/1.009, allocations: 1.761 MB / 1.395 GB, free: 9.805 MB / 1.123 GB Notification: Performance of SimCode: time 0.004841/1.014, allocations: 2.826 MB / 1.397 GB, free: 6.93 MB / 1.123 GB Notification: Performance of Templates: time 0.04423/1.058, allocations: 28.91 MB / 1.426 GB, free: 10.17 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches