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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001088/0.001089, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005327, allocations: 12 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.7962, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir): time 0.1952/0.9914, allocations: 180.3 MB / 1.2 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01058/1.002, allocations: 6.762 MB / 1.206 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/1.003, allocations: 23.81 kB / 1.206 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/1.004, allocations: 298.4 kB / 1.207 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005719/1.01, allocations: 1.874 MB / 1.208 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/1.012, allocations: 0.6035 MB / 1.209 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003151/1.015, allocations: 2.259 MB / 1.211 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009706/1.016, allocations: 482.5 kB / 1.212 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/1.018, allocations: 0.7899 MB / 1.212 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/1.02, allocations: 0.4898 MB / 1.213 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/1.02, allocations: 28 kB / 1.213 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/1.025, allocations: 2.58 MB / 1.216 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003845/1.026, allocations: 239.3 kB / 1.216 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006503/1.026, allocations: 363.9 kB / 1.216 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/1.029, allocations: 1.473 MB / 1.218 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.029, allocations: 0 / 1.218 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.512e-06/1.029, allocations: 0 / 1.218 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.029, allocations: 0 / 1.218 GB, free: 8.668 MB / 0.9669 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.001752/1.031, allocations: 0.9775 MB / 1.218 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.031, allocations: 8.031 kB / 1.218 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/1.033, allocations: 274.9 kB / 1.219 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.034, allocations: 0.6181 MB / 1.219 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/1.034, allocations: 44.94 kB / 1.219 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/1.034, allocations: 48 kB / 1.219 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/1.035, allocations: 0.5918 MB / 1.22 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.035, allocations: 0 / 1.22 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/1.035, allocations: 27.94 kB / 1.22 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.035, allocations: 17 kB / 1.22 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/1.036, allocations: 479.7 kB / 1.221 GB, free: 5.492 MB / 0.9669 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.002705/1.038, allocations: 2.141 MB / 1.223 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/1.039, allocations: 395.5 kB / 1.223 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/1.039, allocations: 218 kB / 1.223 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/1.04, allocations: 12.27 kB / 1.223 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.04, allocations: 42.83 kB / 1.223 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/1.04, allocations: 0 / 1.223 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001296/1.041, allocations: 0.6518 MB / 1.224 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/1.041, allocations: 63.34 kB / 1.224 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/1.041, allocations: 494 kB / 1.224 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/1.042, allocations: 37.7 kB / 1.224 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.042, allocations: 280.3 kB / 1.225 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.042, allocations: 130.1 kB / 1.225 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/1.042, allocations: 33.7 kB / 1.225 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.042, allocations: 366.7 kB / 1.225 GB, free: 412 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/1.042, allocations: 159.9 kB / 1.225 GB, free: 252 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/1.043, allocations: 224.9 kB / 1.226 GB, free: 8 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/1.043, allocations: 373.2 kB / 1.226 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.043, allocations: 0 / 1.226 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006955/1.044, allocations: 468.7 kB / 1.226 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/1.044, allocations: 116.5 kB / 1.227 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/1.044, allocations: 0 / 1.227 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.044, allocations: 4.094 kB / 1.227 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/1.045, allocations: 95.88 kB / 1.227 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003732/1.045, allocations: 0.5937 MB / 1.227 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/1.045, allocations: 71.73 kB / 1.227 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/1.046, allocations: 19.98 kB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/1.046, allocations: 4 kB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005879/1.046, allocations: 396 kB / 1.228 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/1.046, allocations: 0 / 1.228 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/1.046, allocations: 4 kB / 1.228 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/1.046, allocations: 79.89 kB / 1.228 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.046, allocations: 3.938 kB / 1.228 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/1.047, allocations: 75.59 kB / 1.228 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/1.047, allocations: 19.94 kB / 1.228 GB, free: 13.66 MB / 0.9825 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.0003491/1.047, allocations: 297 kB / 1.228 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.047, allocations: 55.38 kB / 1.228 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008395/1.048, allocations: 476 kB / 1.229 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.048, allocations: 7.938 kB / 1.229 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.048, allocations: 3.938 kB / 1.229 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007302/1.049, allocations: 0.6997 MB / 1.229 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/1.051, allocations: 1.415 MB / 1.231 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.051, allocations: 0 / 1.231 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/1.052, allocations: 87.88 kB / 1.231 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/1.052, allocations: 29.03 kB / 1.231 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.052, allocations: 16 kB / 1.231 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/1.053, allocations: 1.142 MB / 1.232 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.053, allocations: 8.156 kB / 1.232 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.054, allocations: 0.7346 MB / 1.233 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/1.054, allocations: 192.3 kB / 1.233 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.274e-05/1.054, allocations: 16 kB / 1.233 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/1.054, allocations: 35.88 kB / 1.233 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/1.054, allocations: 23.97 kB / 1.233 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/1.054, allocations: 23.92 kB / 1.233 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000445/1.055, allocations: 354.8 kB / 1.233 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/1.055, allocations: 0 / 1.233 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001469/1.056, allocations: 499.1 kB / 1.234 GB, free: 7.262 MB / 0.9825 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.001583/1.058, allocations: 0.5069 MB / 1.234 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.059, allocations: 0.5932 MB / 1.235 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.059, allocations: 4.375 kB / 1.235 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/1.06, allocations: 208.8 kB / 1.235 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.062, allocations: 334.1 kB / 1.235 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/1.064, allocations: 1.658 MB / 1.237 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/1.065, allocations: 0.9256 MB / 1.238 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/1.065, allocations: 55.42 kB / 1.238 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of SimCode: time 1.082e-06/1.065, allocations: 0 / 1.238 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of Templates: time 0.02509/1.09, allocations: 15.99 MB / 1.254 GB, free: 2.992 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches