Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00478/0.00478, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001243/0.001243, allocations: 193 kB / 16.67 MB, free: 6.352 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.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.56/2.56, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3172, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir): time 0.9053/1.223, allocations: 184.9 MB / 1.347 GB, free: 6.609 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01031/1.233, allocations: 6.767 MB / 1.354 GB, free: 1.801 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/1.234, allocations: 24.59 kB / 1.354 GB, free: 1.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/1.236, allocations: 348.3 kB / 1.354 GB, free: 1.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005954/1.242, allocations: 2.085 MB / 1.356 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/1.244, allocations: 0.6737 MB / 1.357 GB, free: 168 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002496/1.246, allocations: 1.686 MB / 1.358 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008901/1.247, allocations: 0.576 MB / 1.359 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/1.249, allocations: 0.9114 MB / 1.36 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/1.25, allocations: 478.5 kB / 1.36 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.831e-05/1.25, allocations: 56.41 kB / 1.36 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004755/1.255, allocations: 2.316 MB / 1.363 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007929/1.256, allocations: 301.3 kB / 1.363 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/1.256, allocations: 388.2 kB / 1.363 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/1.259, allocations: 2.002 MB / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.259, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.154e-06/1.259, allocations: 1.594 kB / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.259, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001707/1.261, allocations: 1.138 MB / 1.366 GB, free: 11.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.261, allocations: 9.656 kB / 1.366 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/1.263, allocations: 242.5 kB / 1.367 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/1.264, allocations: 0.6497 MB / 1.367 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/1.264, allocations: 37.81 kB / 1.367 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/1.264, allocations: 48.94 kB / 1.367 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/1.265, allocations: 0.5957 MB / 1.368 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/1.265, allocations: 4 kB / 1.368 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/1.265, allocations: 19.91 kB / 1.368 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/1.265, allocations: 22.03 kB / 1.368 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/1.266, allocations: 477.2 kB / 1.368 GB, free: 10.25 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.002649/1.268, allocations: 2.158 MB / 1.371 GB, free: 8.414 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/1.269, allocations: 388.1 kB / 1.371 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/1.269, allocations: 215.1 kB / 1.371 GB, free: 8.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/1.269, allocations: 12.61 kB / 1.371 GB, free: 8.098 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.269, allocations: 38.34 kB / 1.371 GB, free: 8.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 3.757e-06/1.269, allocations: 4 kB / 1.371 GB, free: 8.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001493/1.271, allocations: 0.6977 MB / 1.372 GB, free: 7.633 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.271, allocations: 59 kB / 1.372 GB, free: 7.566 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/1.271, allocations: 495.1 kB / 1.372 GB, free: 7.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/1.271, allocations: 35.08 kB / 1.372 GB, free: 7.238 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/1.272, allocations: 285.6 kB / 1.373 GB, free: 6.984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.272, allocations: 130 kB / 1.373 GB, free: 6.871 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/1.272, allocations: 78.64 kB / 1.373 GB, free: 6.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.272, allocations: 363.2 kB / 1.373 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/1.272, allocations: 159.2 kB / 1.373 GB, free: 6.387 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/1.273, allocations: 221.4 kB / 1.374 GB, free: 6.246 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/1.273, allocations: 372.6 kB / 1.374 GB, free: 6.043 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.273, allocations: 6.75 kB / 1.374 GB, free: 6.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006756/1.274, allocations: 472.4 kB / 1.374 GB, free: 5.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.274, allocations: 9.25 kB / 1.374 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.274, allocations: 2.688 kB / 1.374 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.274, allocations: 2.656 kB / 1.374 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/1.274, allocations: 98.02 kB / 1.375 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003528/1.275, allocations: 0.5929 MB / 1.375 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/1.275, allocations: 44.3 kB / 1.375 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/1.275, allocations: 16.59 kB / 1.375 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003923/1.276, allocations: 342.9 kB / 1.376 GB, free: 4.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002558/1.276, allocations: 212.6 kB / 1.376 GB, free: 4.777 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004666/1.276, allocations: 372.5 kB / 1.376 GB, free: 4.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/1.276, allocations: 1.641 kB / 1.376 GB, free: 4.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.000645/1.277, allocations: 464.4 kB / 1.377 GB, free: 4.336 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/1.277, allocations: 4.938 kB / 1.377 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.277, allocations: 2.594 kB / 1.377 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-06/1.277, allocations: 2.406 kB / 1.377 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/1.277, allocations: 84.7 kB / 1.377 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/1.277, allocations: 0 / 1.377 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/1.278, allocations: 36.28 kB / 1.377 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/1.278, allocations: 22.94 kB / 1.377 GB, free: 4.277 MB / 1.045 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 (42): * Single equations (assignments): 41 * 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.0001394/1.278, allocations: 197.3 kB / 1.377 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/1.278, allocations: 63.66 kB / 1.377 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007534/1.279, allocations: 469.5 kB / 1.377 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.279, allocations: 9.125 kB / 1.377 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.279, allocations: 0 / 1.377 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006818/1.279, allocations: 0.6965 MB / 1.378 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/1.281, allocations: 1.414 MB / 1.379 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.281, allocations: 4.859 kB / 1.379 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/1.282, allocations: 76.52 kB / 1.38 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/1.282, allocations: 32.03 kB / 1.38 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.282, allocations: 12.84 kB / 1.38 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005997/1.282, allocations: 1.153 MB / 1.381 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.282, allocations: 3.219 kB / 1.381 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/1.283, allocations: 0.7406 MB / 1.381 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/1.283, allocations: 195.9 kB / 1.382 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/1.283, allocations: 8.594 kB / 1.382 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.284, allocations: 23.66 kB / 1.382 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/1.284, allocations: 32.03 kB / 1.382 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/1.284, allocations: 16.59 kB / 1.382 GB, free: 160 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003533/1.284, allocations: 353.8 kB / 1.382 GB, free: 15.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/1.284, allocations: 0 / 1.382 GB, free: 15.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001262/1.286, allocations: 0.4892 MB / 1.382 GB, free: 15.82 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.U,vol.dynBal.m) * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/1.287, allocations: 0.5022 MB / 1.383 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.288, allocations: 0.6076 MB / 1.384 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.288, allocations: 0 / 1.384 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/1.288, allocations: 209.7 kB / 1.384 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.289, allocations: 337.8 kB / 1.384 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/1.291, allocations: 1.32 MB / 1.385 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/1.292, allocations: 0.9215 MB / 1.386 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004656/1.292, allocations: 204.2 kB / 1.386 GB, free: 13.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.292, allocations: 55.42 kB / 1.387 GB, free: 13.21 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.292, allocations: 0 / 1.387 GB, free: 13.21 MB / 1.061 GB Notification: Performance of Templates: time 0.02287/1.315, allocations: 15.57 MB / 1.402 GB, free: 3.137 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches